Bug? Or something I'm doing wrong? In tutorial part 2, just after adding
date_hierarchy = 'pub_date' to my Poll.Admin class, when I reload the /admin/polls/poll/ page, I get: ProgrammingError at /mysite/admin/polls/poll/ (1064, "You have an error in your SQL syntax near '(DATE_FORMAT(`polls_poll`.`pub_date`, '%Y-01-01 00:00:00') AS DATETIME) FROM `p' at line 1") Request Method: GET Request URL: http://carter.dyndns.org:8000/mysite/admin/polls/poll/ Exception Type: ProgrammingError Exception Value: (1064, "You have an error in your SQL syntax near '(DATE_FORMAT(`polls_poll`.`pub_date`, '%Y-01-01 00:00:00') AS DATETIME) FROM `p' at line 1") Exception Location: /usr/lib/python2.3/site-packages/MySQLdb/connections.py in defaulterrorhandler, line 33 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---