Commit graph

183 commits

Author SHA1 Message Date
Laura Klünder
3762ebf37d show group categories in api 2017-07-10 16:30:38 +02:00
Laura Klünder
6a6af47528 Edit LocationGroupCategory objects in Editor 2017-07-10 14:10:48 +02:00
Laura Klünder
4a58c1afab create LocationGroupCategory 2017-07-10 13:54:33 +02:00
Laura Klünder
52c64b0798 fix typo 2017-07-10 13:04:02 +02:00
Laura Klünder
358f900cdc created TitledMixin 2017-07-10 13:01:35 +02:00
Laura Klünder
3dfa4b4956 make slug and titles non-mandatory 2017-07-08 16:50:37 +02:00
Laura Klünder
f2913dd8ac rename Point to POI 2017-07-08 16:29:12 +02:00
Laura Klünder
dee040734c no need to cache this, we have select_related 2017-06-22 20:14:32 +02:00
Laura Klünder
4d544610e5 only prefetch groups if detailed serialization was queried 2017-06-22 19:53:25 +02:00
Laura Klünder
03d40add64 user get_submodels everywhere 2017-06-22 19:27:51 +02:00
Laura Klünder
7a9f4da4c1 remove everything about the editor from mapdata app 2017-06-21 12:47:28 +02:00
Laura Klünder
279d9bab52 auto prefetch_related on LocationSlug 2017-06-18 18:42:30 +02:00
Laura Klünder
9cf48cb609 always copy dict on Location.__init__ because it could be the default 2017-06-18 18:08:58 +02:00
Laura Klünder
a659b37bc8 neatly show changes 2017-06-18 16:52:50 +02:00
Laura Klünder
bd32896b95 fix get_color() 2017-06-17 23:40:23 +02:00
Laura Klünder
edfb083c61 fix get_color() on ModelInstanceWrapper 2017-06-16 18:38:41 +02:00
Laura Klünder
e8ffe20413 optimize queries in mapdata API 2017-06-11 15:10:48 +02:00
Laura Klünder
1498b7aeb0 rename Section back to Level 2017-06-11 14:43:14 +02:00
Laura Klünder
129be97a59 remove unneeded method 2017-05-31 02:39:35 +02:00
Laura Klünder
341c2f98e5 replace except: pass with suppress() context manager 2017-05-31 02:38:59 +02:00
Laura Klünder
c65f01d620 improve editor geometry API performance using prefetch_related 2017-05-29 16:36:17 +02:00
Laura Klünder
80b0d45823 remove help_text from Location color 2017-05-27 18:37:26 +02:00
Laura Klünder
f6cb959041 editor: edit slugs and redirecting slugs 2017-05-27 18:29:36 +02:00
Laura Klünder
85da33dee6 title property for all EditorFormMixin models 2017-05-16 18:11:33 +02:00
Laura Klünder
10ebf99f30 flake8 2017-05-16 16:23:12 +02:00
Laura Klünder
4f2861308a describe locationgroup choices in editor forms 2017-05-16 14:50:36 +02:00
Laura Klünder
84ebce2e0d change location color priority 2017-05-13 20:21:45 +02:00
Laura Klünder
6512ef7905 colorize spaces 2017-05-13 16:39:01 +02:00
Laura Klünder
d816762ea2 remove unused imports 2017-05-12 13:52:01 +02:00
Laura Klünder
d9a451765c add ?detailed to Location API 2017-05-12 13:21:41 +02:00
Laura Klünder
4b0429f41b add title to Locatio serializer 2017-05-12 13:15:13 +02:00
Laura Klünder
1adf59af00 remove subtitle vom Location and fix title 2017-05-12 13:10:48 +02:00
Laura Klünder
4803704cec move slug to LocationSlug serializer 2017-05-12 12:54:10 +02:00
Laura Klünder
92003080ed delete old stuff from mapdata 2017-05-12 01:21:53 +02:00
Laura Klünder
9d67cdcb75 add LocationRedirect and fallback slug for locations 2017-05-11 22:46:39 +02:00
Laura Klünder
6bbac4a7ba new REST API 2017-05-11 21:02:01 +02:00
Laura Klünder
513bb25b6a move title property to Location 2017-05-11 09:06:19 +02:00
Laura Klünder
67f2bcdf0e delete AreaLocation 2017-05-10 21:31:54 +02:00
Laura Klünder
69ac1b74c6 convert all remaining AreaLocations 2017-05-10 21:24:31 +02:00
Laura Klünder
8290083fd4 Create new Location model structure 2017-05-10 19:02:31 +02:00
Laura Klünder
9a1ce01fdb flake8 and sort imports 2017-05-08 21:55:45 +02:00
Laura Klünder
963694395e turn abstract models into mixins 2017-05-08 16:40:22 +02:00
Laura Klünder
9e79ca74ae add geomtype to GeometryField and remove it from GeometryFeature 2017-05-08 16:17:47 +02:00
Laura Klünder
c9661e4edb rename Level to Section 2017-05-07 12:39:24 +02:00
Laura Klünder
83ca6abd00 convert mapdata.models.geometry into python package 2017-05-06 17:24:09 +02:00
Laura Klünder
89ab60b395 remove name field from most mapdata models 2017-05-05 16:22:11 +02:00
Laura Klünder
5973ca3211 rename and refactor mapdata models 2017-05-05 13:19:25 +02:00
Laura Klünder
5efb6d537d remove packages, hosters, ... completely 2017-05-01 18:10:46 +02:00
Laura Klünder
f0cec9b7bf add „public“ field to Areas and Locations and prefill it according to PUBLIC_PACKAGES 2017-05-01 17:35:41 +02:00
Laura Klünder
582f7df7ca remove tofile, fromfile and similar 2017-04-28 11:14:01 +02:00