Sorry, I'm being silly... I've realised my mistake now and it works
just fine. I was running manage.py in the wrong directory.

School boy error!



On 3 May, 15:11, cootetom <[EMAIL PROTECTED]> wrote:
> Hi all, I'm trying to use Django and am just getting it up and
> running. I've set up a project using 'django-admin.py startproject
> myapp', this project now exists in a directory C:\Python25\apps\djcode
> \myapp. Next thing I did was start the developement server 'python
> manage.py runserver 8080'.
>
> All of this is fine but now when I try to browse to my project 'http://
> localhost:8080/' I get an error which I just can't figure out. Can
> anyone point me in the right direction?
>
> ImportError at /
> No module named {{ project_name }}.urls
> Request Method:         GET
> Request URL:    http://localhost:8080/
> Exception Type:         ImportError
> Exception Value:        No module named {{ project_name }}.urls
> Exception Location:     C:\Python25\lib\site-packages\django\core
> \urlresolvers.py in _get_urlconf_module, line 177
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to