#11707: limit_choices_to on a ForeignKey can render duplicate options in
formfield
-------------------------------------+-------------------------------------
Reporter: Chris.Wesseling@… | Owner:
Type: Bug | charstring
Component: Forms | Status: new
Severity: Normal | Version: master
Keywords: ForeingKey | Resolution:
limit_choices_to, dceu2011 | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by charstring):
Replying to [comment:22 charstring]:
> Is the `PointField` mentioned in [comment:12] the same as the one that
now lives in django.contrib.gis?
No, it isn't. I've installed postgis for this bug. postgis points *can* be
tested on equality.. the `PointField` in [comment:12] uses the builtin
postgres point type, *not* the postgis point type that django.crontib.gis
does.
--
Ticket URL: <https://code.djangoproject.com/ticket/11707#comment:24>
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/080.c605973aed9d94d7a6009460885e55e9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.