#18654: Support for model properties that are not fields in LayerMapping
-------------------------------+--------------------------
Reporter: msopacua | Owner: nobody
Type: Uncategorized | Status: new
Component: GIS | Version: master
Severity: Normal | Keywords: LayerMapping
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------
The GIS LayerMapping does explicit testing for model fields and has logic
to support Foreign keys. However, this does not allow supporting the
reverse relationship of foreign keys or to support fields that need some
kind of translation or need to be spread across different fields/models
(f.e. when a shape file contains compound fields).
The patch provided allows for 'class properties' to be filled by the
layermap and contains a test for the concrete use case that prompted this
enhancement.
--
Ticket URL: <https://code.djangoproject.com/ticket/18654>
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 https://groups.google.com/groups/opt_out.