Skip to content
Browse files

Added note to default manage.py that a 'missing settings.py' message …

…may be caused by an ImportError in the settings file

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d7e929a commit c86946f000d4620faaef7162bfe6c73f13ae4085 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/conf/project_template/manage.py
View
2 django/conf/project_template/manage.py
@@ -4,7 +4,7 @@
import settings # Assumed to be in the same directory.
except ImportError:
import sys
- 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" % __file__)
+ 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)
if __name__ == "__main__":

0 comments on commit c86946f

Please sign in to comment.
Something went wrong with that request. Please try again.