Skip to content

Commit

Permalink
Merge pull request #499 from Myoldmopar/FixMissingInitInDevPy
Browse files Browse the repository at this point in the history
Fix Automated ReadTheDocs Builds
  • Loading branch information
mmclark committed Dec 3, 2015
2 parents 906f003 + ff9ce0e commit 1a09c77
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@

ALLOWED_HOSTS = ['*']

# ReadTheDocs won't have a local_untracked, so even here in dev, there needs to be a few initializations
DOMAIN_URLCONFS = {}
DOMAIN_URLCONFS['default'] = 'config.urls'


# use imp module to find the local_untracked file rather than a hard-coded path
# TODO: There seems to be a bunch of loading of other files in these settings. First this loads the common, then this, then anything in the untracked file
try:
Expand All @@ -131,4 +136,4 @@
if 'local_untracked_exists' in locals():
from config.settings.local_untracked import * # noqa
else:
print >> sys.stderr, "Unable to find the local_untracked module in config/settings/local_untracked.py"
print >> sys.stderr, "Unable to find the local_untracked module in config/settings/local_untracked.py"

0 comments on commit 1a09c77

Please sign in to comment.