Thanks for the follow up!
On Wednesday, December 12, 2012 4:21:59 PM UTC-8, Mike Dewhirst wrote:
>
> I'm getting an unexpected validation error in Admin which baffles me.
> Any hints appreciated ... here is the traceback
>
> http://dpaste.com/844972/
>
> At the bottom of the traceback where the
Thanks Chris
It turned out I hadn't read the docs properly. Prior to posting the
problem I had tried ...
instance.item_pictogram_set.remove(pic)
... to be told the relatedmanager object didn't have a remove attribute
when (I thought) it should. So I adjusted the database to make both
I'm going to take a guess that when you "drop one" of them, deleting it,
there's still a query going on that might want to refer to the other one,
and the to_python fails because that reference doesn't exist anymore.
You might have better luck if you're using a OneToOne or ForeignKey
(onetomany
I'm getting an unexpected validation error in Admin which baffles me.
Any hints appreciated ... here is the traceback
http://dpaste.com/844972/
At the bottom of the traceback where the error is raised, the local vars
are ...
self
value u'33'
key 'pk'
When I save the item, it auto-
4 matches
Mail list logo