#4850: Having a project named "code" breaks things
---------------------------+------------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jacob
Status: new | Component: Uncategorized
Version: 0.96 | Keywords: project name
Stage: Unreviewed | Has_patch: 0
---------------------------+------------------------------------------------
{{{
[pequod:/tmp] $ django-admin.py startproject code
[pequod:/tmp] $ cd code
[pequod:/tmp/code] $ python manage.py runserver
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/lib/python2.5/site-packages/django/core/management.py", line
1672, in execute_manager
execute_from_command_line(action_mapping, argv)
File "/usr/lib/python2.5/site-packages/django/core/management.py", line
1563, in execute_from_command_line
from django.utils import translation
File "/usr/lib/python2.5/site-
packages/django/utils/translation/__init__.py", line 3, in <module>
if settings.USE_I18N:
File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", line
28, in __getattr__
self._import_settings()
File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", line
55, in _import_settings
self._target = Settings(settings_module)
File "/usr/lib/python2.5/site-packages/django/conf/__init__.py", line
83, 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 'code.settings' (Is it on
sys.path? Does it have syntax errors?): No module named settings
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/4850>
Django Code <http://code.djangoproject.com/>
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---