#3299: the name of project cannot have the name "site"
-----------------------------+----------------------------------------------
Reporter: anonymous | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Admin interface | Version:
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
hi all,
$django-admin.py startproject site
$cd site
$python manage.py runserver
and he say he is in a bad moon
{{{
Traceback (most recent call last):
File "manage.py", line 11, in ?
execute_manager(settings)
File "/usr/lib/python2.4/site-packages/Django-0.95-
py2.4.egg/django/core/management.py", line 1319, in execute_manager
execute_from_command_line(action_mapping, argv)
File "/usr/lib/python2.4/site-packages/Django-0.95-
py2.4.egg/django/core/management.py", line 1237, in
execute_from_command_line
from django.utils import translation
File "/usr/lib/python2.4/site-packages/Django-0.95-
py2.4.egg/django/utils/translation/__init__.py", line 3, in ?
if settings.USE_I18N:
File "/usr/lib/python2.4/site-packages/Django-0.95-
py2.4.egg/django/conf/__init__.py", line 27, in __getattr__
self._import_settings()
File "/usr/lib/python2.4/site-packages/Django-0.95-
py2.4.egg/django/conf/__init__.py", line 54, in _import_settings
self._target = Settings(settings_module)
File "/usr/lib/python2.4/site-packages/Django-0.95-
py2.4.egg/django/conf/__init__.py", line 82, in __init__
raise EnvironmentError, "Could not import settings '%s' (Is it on
sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)
EnvironmentError: Could not import settings 'site.settings' (Is it on
sys.path? Does it have syntax errors?): No module named settings
}}}
to bypass that just not name your project "site", but I thing when you
start with you have that error, you spend lots of time to find what's
going wrong,
a simple message with " site bad name change name" is not a lot.
--
Ticket URL: <http://code.djangoproject.com/ticket/3299>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django
updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---