add title to Locatio serializer
This commit is contained in:
parent
1adf59af00
commit
4b0429f41b
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ class Location(LocationSlug, EditorFormMixin, models.Model):
|
|||
def _serialize(self, **kwargs):
|
||||
result = super()._serialize(**kwargs)
|
||||
result['titles'] = self.titles
|
||||
result['title'] = self.title
|
||||
result['can_search'] = self.can_search
|
||||
result['can_describe'] = self.can_search
|
||||
result['color'] = self.color
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue