Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding a comment to the code

  • Loading branch information...
commit 126005c5ec7a5cb5df4130080a83244e95df9284 1 parent aaa2f82
@thsutton authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  foo/__init__.py
View
3  foo/__init__.py
@@ -4,7 +4,8 @@ def inject_app_defaults(application):
try:
__import__('%s.settings' % application)
import sys
- # Import the
+
+ # Import our defaults, project defaults, and project settings
_app_settings = sys.modules['%s.settings' % application]
_def_settings = sys.modules['django.conf.global_settings']
_settings = sys.modules['django.conf'].settings
Please sign in to comment.
Something went wrong with that request. Please try again.