I'm having a similar issue. Here's a summary of my model.

class Encyclopedie(models.Model):
        titre = models.CharField(maxlength=100, unique=True)
        index = models.ForeignKey("Page", related_name="index_set",
blank=True, null=True)

class Page(models.Model):
        encyclopedie = models.ForeignKey(Encyclopedie)
        titre = models.CharField(maxlength=100, unique=True)

It used to work, until I added the index ForeignKey. Now it's choking
on the backward relationship each time a manipulator is called.
Basically every form fails to show with the same AttributeError
exception, including the admin ones. I didn't try to bypass the form
and directly submit, but I don't think I can't expect anything less.
The model validation doesn't report any error. It also looks close to
#1839 to me, except it's a "circular" dependency instead of a self one.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to