make apply work
This commit is contained in:
parent
fda3c2f85d
commit
d82670a537
1 changed files with 1 additions and 0 deletions
|
@ -336,6 +336,7 @@ class ChangeSet(models.Model):
|
|||
# todo: reimplement
|
||||
update = self.updates.create(user=user, state='applied')
|
||||
map_update = MapUpdate.objects.create(user=user, type='changeset')
|
||||
self.as_operations.prefetch().apply()
|
||||
self.state = 'applied'
|
||||
self.last_state_update = update
|
||||
self.last_update = update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue