It failed after it imported your settings file the first time, so I
don't think the problem's there; it also got the folder name right, so
it looks like it's just failing to recognize it as a Python package.
Any chance you got rid of __init__.py (empty file in the mysite
folder) by mistake?

On Jan 2, 8:01 am, rvwilliams <rich...@everything4it.co.uk> wrote:
> Hi
>
> I'm just getting started on django and I'm using a Windows Vista
> version.  Yesterday I completed about half of the tutorial without too
> much difficulty.  Now I'm trying to carry on from where I stopped.
> The first thing I need to do is to restart the test server, so I go
> into the 'mysite' folder and type "python manage.py runserver".  This
> fails with this traceback
> Traceback (most recent call last):
>   File "manage.py", line 11, in <module>
>     execute_manager(settings)
>   File "C:\Python26\Lib\site-packages\django\core\management
> \__init__.py", line
> 338, in execute_manager
>     setup_environ(settings_mod)
>   File "C:\Python26\Lib\site-packages\django\core\management
> \__init__.py", line
> 316, in setup_environ
>     project_module = __import__(project_name, {}, {}, [''])
> ImportError: No module named mysite
>
> I haven't changed anything from yesterday and I just can't work out
> why the server can't start again.  In fact if I try anything with
> manage.py, I get the same traceback.
>
> Can someone help me get back on track?
>
> Thanks.
>
> Richard Williams.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to