Hi, Im writing just a bit of learning code to generate html from
templates without using a model. But all I'm getting is this,

Request Method:         GET
Request URL:    http://localhost:8000/about/
Exception Type:         ImportError
Exception Value:        No module named about
Exception Location:
        
C:\Python24\lib\site-packages\django-0.95-py2.4.egg\django\core\urlresolvers.py
in _get_urlconf_module, line


In my urls.py I have this:
(r'^about/', include('Nuovotel.account.views.about')),

and in my views.py for the about function I have this:

def about(request):
    t = loader.get_template('account/about.html')
    c = Context({'the_content': [],})
    return HttpResponse(t.render(c))

What am I doing wrong??

Cheers,
Shidan

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