Commit graph

148 commits

Author SHA1 Message Date
Laura Klünder
548f442e81 fix wrapped query set ordering 2019-12-21 17:52:06 +01:00
Laura Klünder
c50f74e02e add missing return statement 2019-12-21 17:40:53 +01:00
Laura Klünder
2ec0f63894 fix ordering in editor when there are new objects in the changeset 2019-12-21 17:36:18 +01:00
Laura Klünder
aac7fbf23a group and order location groups in editor 2019-12-21 15:35:14 +01:00
Laura Klünder
a554a0ceae only query relevant groups 2019-12-10 18:55:32 +01:00
Laura Klünder
154f04d4c2 implement callables directly 2019-12-10 15:49:06 +01:00
Laura Klünder
127673f3b0 use frozensets for better performance 2019-12-10 14:46:46 +01:00
Laura Klünder
a49fed2b20 introducing NoopChangedObject for performance optimization where applicable 2019-12-10 14:12:14 +01:00
Laura Klünder
35220eaef6 some performance optimizations 2019-12-10 14:02:16 +01:00
Laura Klünder
b3f307b9a6 optimize traffic for editor geometries / cache objects locally 2019-12-10 00:11:59 +01:00
Laura Klünder
55013a61b6 more fixes for the editor 2018-09-18 17:38:26 +02:00
Laura Klünder
1f0c09950e remove todo that was done 2017-12-24 19:37:30 +01:00
Laura Klünder
fd707f5c7d allow filtering by one_to_one 2017-12-24 17:35:08 +01:00
Laura Klünder
0f5a822a2a hopefully fix finally the wrapped ReverseOneToOneDescriptor issue 2017-12-24 17:26:03 +01:00
Laura Klünder
e8dbc0843c fix ReverseOneToOneDescriptor on wrapped models 2017-12-24 15:59:06 +01:00
Laura Klünder
db2f99c774 cache wrapped multi-level-lookup subqueries 2017-12-24 14:29:34 +01:00
Laura Klünder
6cdcf70127 fix error with wrapped multi-level-lookups 2017-12-24 14:11:05 +01:00
Laura Klünder
8e5e610255 fix instance is None stuff 2017-12-22 21:05:14 +01:00
Laura Klünder
b625414cfa WifiMeasurement support in editor 2017-12-21 02:35:36 +01:00
Laura Klünder
35fe4c7409 fix error with multi-level lookup in wrapped ORM 2017-12-21 02:02:37 +01:00
Laura Klünder
c1fb344bfb fix error with empty filter() call 2017-12-19 15:52:09 +01:00
Laura Klünder
0a0bf9972a orm wrapper: fix querying stuff by attname 2017-12-19 01:32:00 +01:00
Laura Klünder
1f80f2daa6 remove editor.utils because nearly nothing in it was used 2017-11-30 15:52:02 +01:00
Laura Klünder
fdf6269000 fix WrappedQuerySet.model property 2017-11-22 22:16:59 +01:00
Laura Klünder
6ed5188c07 remove bare exceptions 2017-10-25 00:47:40 +02:00
Laura Klünder
5db79819bc fix problem with multiple deletions and changesets 2017-07-27 14:13:00 +02:00
Laura Klünder
4fd1968ff7 fix BaseQueryWrapper.first() 2017-07-27 14:06:46 +02:00
Laura Klünder
bd5e0ca264 fix error with empty querysets and wrapped prefetch_related 2017-07-27 13:26:04 +02:00
Laura Klünder
4b103b2dda WrappedQueryset: exclude submodel-deleted LocationSlug instances 2017-07-19 15:24:12 +02:00
Laura Klünder
4453ea7b62 wrapped querysets: allow multi-level-lookups using subqueries 2017-07-15 15:54:32 +02:00
Laura Klünder
c208e97ff1 BaseQueryWrapper.prefetch_related(): support Prefetch objects 2017-07-13 21:45:57 +02:00
Laura Klünder
9fff9e5dcb filter_q: allow empty Q() objects 2017-07-13 19:32:04 +02:00
Laura Klünder
11ff24cc49 allow calling Model class methods wrapped 2017-07-13 18:53:48 +02:00
Laura Klünder
4b02c15a27 split groups field in EditorForm into location group categories 2017-07-10 16:00:43 +02:00
Laura Klünder
66ce1799e8 fix error in lookup with pk=None 2017-07-07 14:42:12 +02:00
Laura Klünder
9ac3eeeca0 edit title and description of changesets 2017-06-29 15:53:26 +02:00
Laura Klünder
557242d3fe fix delete objects exclusion 2017-06-27 18:59:10 +02:00
Laura Klünder
2565fcf970 fix problems with unsaved objects in filtering 2017-06-27 18:57:53 +02:00
Laura Klünder
3e73da779b fix some issues with unsaved changesets 2017-06-27 18:54:12 +02:00
Laura Klünder
733065838b fix m2m__pk filter 2017-06-27 16:39:10 +02:00
Laura Klünder
eb326a3694 ChangedObject m2m implementation 2017-06-27 16:10:28 +02:00
Laura Klünder
15e0b3cad2 get_changed_object: instance as argument instead of model and pk 2017-06-27 14:57:43 +02:00
Laura Klünder
eaab9ba670 ChangedObject: save objects and delete objects 2017-06-27 14:42:30 +02:00
Laura Klünder
e02245cc62 remove author from wrappers 2017-06-27 13:11:31 +02:00
Laura Klünder
63cff64599 fallback for lookup in deleted_existing 2017-06-27 03:28:39 +02:00
Laura Klünder
0b7f4d2a13 exclude deleted objects when filtering by related objects 2017-06-25 17:46:53 +02:00
Laura Klünder
7c5ad70781 object save needs to be atomic transaction so entire object is saved 2017-06-25 11:51:49 +02:00
Laura Klünder
aadb81c237 remove descriptor inspections everywhere 2017-06-25 11:35:01 +02:00
Laura Klünder
5ebc23b076 even less descriptor inspection 2017-06-25 11:31:24 +02:00
Laura Klünder
857f0c0a09 improve performance a little bit by deferring geometry field in list 2017-06-23 00:09:28 +02:00