Re: Deserializing xml or json goes into infinite recursion

2010-02-08 Thread Kurt Schwehr
Solved... The answer is to not user "pk" as a field in your model. I switch pk to something else and the serialize and deserialize work fine. -kurt On Feb 7, 2:28 pm, Kurt Schwehr wrote: > class alert(models.Model): >     pk = models.CharField(max_length=10, primary_key=Tru

Re: Deserializing xml or json goes into infinite recursion

2010-02-07 Thread Kurt Schwehr
elf, self._meta.pk.attname, value) 378 379 pk = property(_get_pk_val, _set_pk_val) On Feb 7, 2:28 pm, Kurt Schwehr wrote: > Hi All, > > I'm attempting to pull data from an older django server (0.9x) into a > django 1.1.1 app.  I get an infinite recursion error with eit

Deserializing xml or json goes into infinite recursion

2010-02-07 Thread Kurt Schwehr
Hi All, I'm attempting to pull data from an older django server (0.9x) into a django 1.1.1 app. I get an infinite recursion error with either the json or xml data. Is this a problem with version skew and the formats of serialize/deserialize or do I likely have a coding error on my part? This is