Skip to content

Commit 3d545c9

Browse files
committed
AAAAAAaaaargh!!!
1 parent c8a51b7 commit 3d545c9

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

docs/__init__.py

Whitespace-only changes.

docs/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# If your extensions are in another directory, add it here. If the directory
77
# is relative to the documentation root, use os.path.abspath to make it
88
# absolute, like shown here.
9+
sys.path.insert(0, os.getcwd())
910
from django.core.management import setup_environ
1011
import settings
1112
setup_environ(settings)

docs/settings.py

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
)

0 commit comments

Comments
 (0)