Admin interface does not save routine object

2012-01-04 Thread Andy Oram
I am pasting in a pretty basic models.py here. It is fairly classic (I actually started with Poll tutorial example) and I have stripped out anything that looks questionable. Through the standard admin interface, I can create a User8, a Documentversion8, and a Document8. However, after I fill out th

Re: Admin interface does not save routine object

2012-01-04 Thread Andy Oram
Thanks, Bill. I apologize for not including DEBUG output. Here is what seems relevant. It looks like the ForeignKey relationship filled in fields with the id's of the document and document version (which is what one would expect) and there was a problem converting it to a string. Request Me

Re: Admin interface does not save routine object

2012-01-05 Thread Andy Oram
e string.  Try returning unicode(self.document) or something > like '%d' % document.id. > > Brett > > On 1/4/12 5:07 PM, "Andy Oram" wrote: > > > > > > > > >Thanks, Bill. I apologize for not including DEBUG output. Here is what >