#18368: LayerMapping.save() should be able to set attributes on created model
instances
-----------------------------+--------------------------------------
Reporter: geoffhing@… | Owner: nobody
Type: New feature | Status: closed
Component: GIS | Version: 1.4
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Comment (by Austin Riba):
I still think LayerMapping.save() at the least should return the saved
object. I've run into the issue where I need to save data into the created
object not in the shapefile, like the original author. Unlike the OP
however a signal won't work (unless I'm missing something obvious) because
the context needs to come from the import script, it can't be done in
isolation.
--
Ticket URL: <https://code.djangoproject.com/ticket/18368#comment:5>
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/077.59f3b921d9f21104daa9c5d915d6f944%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.