File tree 3 files changed +27
-0
lines changed
3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 6
6
# If your extensions are in another directory, add it here. If the directory
7
7
# is relative to the documentation root, use os.path.abspath to make it
8
8
# absolute, like shown here.
9
+ sys .path .insert (0 , os .getcwd ())
9
10
from django .core .management import setup_environ
10
11
import settings
11
12
setup_environ (settings )
Original file line number Diff line number Diff line change
1
+ # Django settings for docs project.
2
+
3
+ # import source code dir
4
+ import os
5
+ import sys
6
+ sys .path .insert (0 , os .getcwd ())
7
+ sys .path .insert (0 , os .path .join (os .getcwd (), os .pardir ))
8
+
9
+ SITE_ID = 303
10
+ DEBUG = True
11
+ TEMPLATE_DEBUG = DEBUG
12
+
13
+ DATABASES = {"default" : {"NAME" : ":memory:" ,
14
+ "ENGINE" : "django.db.backends.sqlite3" ,
15
+ "USER" : '' ,
16
+ "PASSWORD" : '' ,
17
+ "PORT" : '' }}
18
+
19
+
20
+ INSTALLED_APPS = (
21
+ 'django.contrib.auth' ,
22
+ 'django.contrib.contenttypes' ,
23
+ 'django.contrib.sessions' ,
24
+ 'django.contrib.sites' ,
25
+ 'djcelery' ,
26
+ )
You can’t perform that action at this time.
0 commit comments