Hey,
 I just try the tutorial I found on
http://www.djangoproject.com/documentation/tutorial1/. This is what I
do (after installing django from svn):
 * create new project
(/usr/lib/python2.3/site-packages/django/bin/django-admin.py
startproject new). It creates a directory 'new', containing the
__init__.py, manage.py, settings.py and urls.py files
 * cd to new, and run python manage.py runserver. Just as tutorial
says. Here's what I get:


Traceback (most recent call last):
  File "manage.py", line 11, in ?
    execute_manager(settings)
  File "/usr/lib/python2.3/site-packages/django/core/management.py",
line 1250, in execute_manager
    execute_from_command_line(action_mapping)
  File "/usr/lib/python2.3/site-packages/django/core/management.py",
line 1171, in execute_from_command_line
    translation.activate('en-us')
  File "/usr/lib/python2.3/site-packages/django/utils/translation.py",
line 195, in activate
    _active[currentThread()] = translation(language)
  File "/usr/lib/python2.3/site-packages/django/utils/translation.py",
line 120, in translation
    if settings.SETTINGS_MODULE is not None:
  File "/usr/lib/python2.3/site-packages/django/conf/__init__.py", line
28, in __getattr__
    self._import_settings()
  File "/usr/lib/python2.3/site-packages/django/conf/__init__.py", line
55, in _import_settings
    self._target = Settings(settings_module)
  File "/usr/lib/python2.3/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 'new.settings' (Is it on
sys.path? Does it have syntax errors?): No module named settings

Seems something very diffrent from what is told in tutorial, and I
didnt done any modifications to the files django-admin have created.

Any ideas what do I do wrong/what should I do now? it's my first
meeting with django, wanna try it and see if it fits my needs.

Cheers, Kender


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to