Features: store titles as a JSONField and add loadmap and dumpmap support
This commit is contained in:
parent
49c2270b84
commit
be62b14669
11 changed files with 101 additions and 27 deletions
|
@ -87,6 +87,6 @@ class FeatureViewSet(ReadOnlyModelViewSet):
|
|||
"""
|
||||
Get all Map Features including ones that are only part of the current session
|
||||
"""
|
||||
queryset = Feature.objects.all().prefetch_related('featuretitles')
|
||||
queryset = Feature.objects.all()
|
||||
serializer_class = FeatureSerializer
|
||||
lookup_value_regex = '[^/]+'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue