Hello,
I started learning about Django and I followed an example at
http://www.djangobook.com/en/beta/chapter03/

I've done:
from django.conf.urls.defaults import *
from gizmo_site.datetime import current_datetime

urlpatterns =
patterns('',
        (r'^\now$', current_datetime),     )

When I tried to start server the error is occures :

Validating models...
django.contrib.auth: 'module' object has no attribute 'timedelta'

and when I open http://127.0.0.1:8000/ there is a description of
error:

Using the URLconf defined in gizmo_site.urls, Django tried these URL
patterns, in this order:

   1. ^\now$

The current URL, /, didn't match any of these.

Can someone tell me what I'm doing wrong?  Thank you

Melita


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to