On Jan 2, 9: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?
I'm fairly new myself rv, so I doubt I can help you much. But, if I
were in your shoes right now, I'd delete the folder you created and
start the tutorial over. It couldn't hurt you too much to review what
you've done and it shouldn't take too long to do it a second time
anyway.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---