#2647: Error when changing ManyToManyField referencing "self" with raw_id_admin
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Admin interface | Version:
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
When a model field is defined as follows:
subcomponents = models.ManyToManyField("self", blank=True, null=True,
symmetrical=False,
#raw_id_admin=True, # <- Django bug activated: raw on "self"
broken
)
(with the comment removed) the admin interface will raise an
ObjectNotFound exception when you edit an object of this type (and you
don't have to change this particular field).
I narrowed it down through trial-and-error to that combination of
parameters.
--
Ticket URL: <http://code.djangoproject.com/ticket/2647>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---