Solved. I used Django's traces to discover that the object wasn't being passed to the view on POST. Inserting some exceptions in different places in the source, I found that it was at the point the form was saved that the model reference was lost. Looking at the form I realized I wasn't returning the object after saving it in the save method.
It figures that as soon as I decide to give up and ask the question I find the answer 5 minutes later. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.