#17018: LayerMapping - entry skipped when ForeignKey field has related model
missing and null = True
-------------------------------+-------------------------------------
Reporter: grobertson | Owner: nobody
Type: Uncategorized | Status: new
Component: GIS | Version: 1.3
Severity: Normal | Keywords: geodjango, layermapping
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------+-------------------------------------
The LayerMapping utility will skip entries for a model that has missing
foreign key entries when the foreign key field has null=True in it's
configuration.
It would be better to add these entries and set the model's foreign key
value to None when the foreign key doesn't exist.
--
Ticket URL: <https://code.djangoproject.com/ticket/17018>
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 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?hl=en.