reimplement wrapped prefetch_related
This commit is contained in:
parent
19856dfd8a
commit
8fef2a81a9
5 changed files with 35 additions and 20 deletions
|
@ -20,7 +20,7 @@ class GeometryMixin(EditorFormMixin):
|
|||
def get_geojson_properties(self) -> dict:
|
||||
result = OrderedDict((
|
||||
('type', self.__class__.__name__.lower()),
|
||||
('id', self.id),
|
||||
('id', self.pk),
|
||||
))
|
||||
if getattr(self, 'bounds', False):
|
||||
result['bounds'] = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue