no longer needed to pass instance to some model methods
This commit is contained in:
parent
aab4230a3a
commit
ca9cfc1e14
6 changed files with 24 additions and 30 deletions
|
@ -105,7 +105,7 @@ def conditional_geojson(obj, update_cache_key_match):
|
|||
if update_cache_key_match and not obj._affected_by_changeset:
|
||||
return obj.get_geojson_key()
|
||||
|
||||
result = obj.to_geojson(instance=obj)
|
||||
result = obj.to_geojson()
|
||||
result['properties']['changed'] = obj._affected_by_changeset
|
||||
return result
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue