Skip to content

Commit

Permalink
allow local settings to add to installed apps
Browse files Browse the repository at this point in the history
if local settings define a LOCAL_INSTALLED_APPS ver, then these apps will
be added to installed apps. Useful for having debugging or testing related
apps not defined in main settings file
  • Loading branch information
ptone committed Mar 16, 2011
1 parent a8043c5 commit 8dae4ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,5 @@
from local_settings import *
except ImportError:
pass
if LOCAL_INSTALLED_APPS:
INSTALLED_APPS.extend(LOCAL_INSTALLED_APPS)

0 comments on commit 8dae4ee

Please sign in to comment.