So I'm using a "projectless" setup where I am manually setting
PYTHONPATH and DJANGO_SETTINGS_MODULE. For some reason my settings
module is not being loaded correctly when I use the runserver command
from the django-admin utility.


Here's an example shell session (in Windows) using an empty project:

C:\dev>django-admin.py startproject testproject

C:\dev>set PYTHONPATH=c:\dev

C:\dev>set DJANGO_SETTINGS_MODULE=testproject.settings

C:\dev>django-admin.py runserver
Validating models...
0 errors found

Django version 0.97-pre-SVN-6869, using settings
'testproject.__init__'
Development server is running at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.


Notice that __init__ is being used instead of the actual settings
module.

These exact steps I used above, however, _do_ work as expected when I
revert to an older version of Django (i.e. 0.96.1). Is it that I'm
doing something in error or has something broke in the current(at time
of writing 0.97-pre-SVN-6869) django trunk? or... ?

Thanks,

Michael

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to