AttributeError on delete object with ManyToManyField('self')

2006-05-19 Thread mlm
I get an AttributeError on deleting an object with a ManyToManyField('self'). The error is below. My Django is an svn checkout from yesterday. I understand that there should be no mediaset_set attribute because the many-to-many relationship is symmetrical, as documented here: http://www.djangop

error in your SQL syntax near '(DATE_FORMAT... on adding date_hierarchy = 'pub_date'

2006-05-19 Thread mlm
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