Hi, I had the same error. Today, after "svn update" it worked.
Thomas Am Dienstag, 10. Juli 2007 08:59 schrieb SM: > Hmmm. As a last resort I replaced the SVN (0.97) version of Django > with the 0.96 version and now it seems to work fine. Very strange, but > I'm relieved to have 'fixed' it. > > On Jul 9, 11:20 pm, SM <[EMAIL PROTECTED]> wrote: > > I hope someone can help me. I'm getting the following AttributeError > > when I try to do the 'current_datetime' example in the Django Book, > > chapter 3. I'm using the SVN (0.97) version of Django. It's driving me > > crazy that I can't get such a simple thing to work! > > > > --- BEGIN ERROR PAGE --- > > > > AttributeError at /now/ > > keys > > Request Method: GET > > Request URL: http://mydomain.com:8080/now/ > > Exception Type: AttributeError > > Exception Value: keys > > Exception Location: /opt/csw/lib/python2.3/site-packages/django/core/ > > urlresolvers.py in resolve, line 234 > > Python Executable: /opt/csw/bin/python2.3 > > Python Version: 2.3.5 > > > > Traceback (most recent call last): > > File "/opt/csw/lib/python2.3/site-packages/django/core/handlers/ > > base.py" in get_response > > 68. callback, callback_args, callback_kwargs = > > resolver.resolve(request.path) > > File "/opt/csw/lib/python2.3/site-packages/django/core/ > > urlresolvers.py" in resolve > > 234. sub_match_dict.update([(smart_str(k), v) for k, v in > > sub_match[2].items()]) > > > > AttributeError at /now/ > > keys --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---