#25306: Should be an easier way to restrict the choices for a ForeignKey
-------------------------------+--------------------
Reporter: CuriousG102 | Owner: nobody
Type: New feature | Status: new
Component: contrib.admin | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Real life problem: I have a site with two models Person and Storyteller.
Storytellers can tell stories (represented by a TextField) about a Person.
This relationship is represented by a ForeignKey from Storyteller to
Person. An admin can choose a feature story about a Person. This is
represented by a foreign key from Person to Storyteller. The change view
for a given Person should only display Storytellers that have a foreign
key to that person. There isn't an easy way to do this currently.
--
Ticket URL: <https://code.djangoproject.com/ticket/25306>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.e27831b00196f288a9ed29ed0e4d192f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.