This release of wq.db brings some enhancements to the “attachment” modules and a few minor bug fixes.
Locationinstances for located models can be loaded directly into the map for editing via a special
edit.geojsonURL. This works well with the updated wq/map.js in wq.app 0.8.1. Note that as part of this enhancement, the
Locationmodel is no longer registered with the API by default (meaning
Locationinstances will not be stored offline by default).
Fileinstances can be uploaded as “attachments” making files a bit more like the patterns modules (bc14412). There is a little bit of customization necessary to get this to work - see the Species Tracker source for an example.
update_attachment()hooks to facilitate customized patterns model workflows (0edf702)
- Fix wq configuration object not listing parent models correctly (due to
get_all_related_objects()change in Django 1.8 (20cd687))
- Ensure server-side postsave is triggered on
- Fix for template vars in Python 2 + Django 1.8 (30e11d9)
router_infotemplate variable name (b4b5daa) and include parent page identifier in list-by-parent-item context (ac92abd)