I really have tried to solve this on my own, but despite my best
efforts I wasn't able to fix it. Anyway, I have created a project
using:
django-admin.py startproject mysite
Then I added an app using:
python manage.py startapp hello
All worked well. I added the app in installed apps list and added the
following url
(r'^site/$', include('mysite.hello.views.index')),
into urls.py file.
As you can see it's all pretty basic.

And now when I try to open localhost:8000/site/I get the following
error:
ImportError at /site/
No module named index
Request Method:         GET
Request URL:    http://localhost:8000/site/
Exception Type:         ImportError
Exception Value:        No module named index
Exception Location:     <unknown> in ?, line ?

With a really usefull trackback:

    * <unknown> in ?

I'm at a complete loss here. What's wrong with it?

PS: I'm using django from the svn on SuSE 10.1. I got the same error
when I tried apache2.


--~--~---------~--~----~------------~-------~--~----~
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