I had the same problem. And I couldnt solve it by what MIke SPralding or gordy suggested. But here I found the solution
# Arvind Jan 22nd, 2007 3 p.m. √ Passing a function as the second argument does not work. In fact, the example in the book till now does not work, even if used word for word. There is a problem in the urlconf, as it looks for a string. So, instead of (r'^now/$', current_datetime) , I need to specify it as (r'^now/$', "mysite.views.current_datetime") # Chai Ang Jan 29th, 2007 6:20 p.m. √ Like the commentor before, I could not get this example to run. However, applying what he suggested, ie. specifying current_datetime as a string instead, it runs now. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---