Hi everyone,
I'm just following the Django tutorial, and I'm having trouble before
even getting started...
I created a new project, switched to the project's directory and typed
"manage.py runserver". This is the error I got:
C:\Documents and Settings\Administrador\Escritorio\site>manage.py
runserver
Traceback (most recent call last):
File "C:\Documents and
Settings\Administrador\Escritorio\site\manage.py", line
11, in ?
execute_manager(settings)
File
"c:\python24\lib\site-packages\Django-0.95-py2.4.egg\django\core\manageme
nt.py", line 1319, in execute_manager
execute_from_command_line(action_mapping, argv)
File
"c:\python24\lib\site-packages\Django-0.95-py2.4.egg\django\core\manageme
nt.py", line 1237, in execute_from_command_line
from django.utils import translation
File
"c:\python24\lib\site-packages\Django-0.95-py2.4.egg\django\utils\transla
tion\__init__.py", line 3, in ?
if settings.USE_I18N:
File
"c:\python24\lib\site-packages\Django-0.95-py2.4.egg\django\conf\__init__
.py", line 27, in __getattr__
self._import_settings()
File
"c:\python24\lib\site-packages\Django-0.95-py2.4.egg\django\conf\__init__
.py", line 54, in _import_settings
self._target = Settings(settings_module)
File
"c:\python24\lib\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
Any hint?
Luis
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users
-~----------~----~----~----~------~----~------~--~---