mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Add last_modified property to orders (#907)
This commit is contained in:
@@ -168,3 +168,11 @@ class Checkin(models.Model):
|
||||
return "<Checkin: pos {} on list '{}' at {}>".format(
|
||||
self.position, self.list, self.datetime
|
||||
)
|
||||
|
||||
def save(self, **kwargs):
|
||||
self.position.order.touch()
|
||||
super().save(**kwargs)
|
||||
|
||||
def delete(self, **kwargs):
|
||||
self.position.order.touch()
|
||||
super().delete(**kwargs)
|
||||
|
||||
Reference in New Issue
Block a user