Skip to content

Commit

Permalink
Manage.py should be importing production
Browse files Browse the repository at this point in the history
  • Loading branch information
emperorcezar committed Mar 17, 2012
1 parent cfed6f2 commit e5c19ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from django.core.management import setup_environ, execute_from_command_line

try:
import settings as settings_mod # Assumed to be in the same directory.
import settings.production as settings_mod # Assumed to be in the same directory.
except ImportError:
sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
sys.exit(1)
Expand Down

0 comments on commit e5c19ba

Please sign in to comment.