Add idempotenty nonces to pretixdroid API

This commit is contained in:
Raphael Michel
2017-05-04 09:32:36 +02:00
parent 429ef67bbf
commit d8eba81efc
5 changed files with 55 additions and 12 deletions

View File

@@ -8,3 +8,4 @@ class Checkin(models.Model):
"""
position = models.ForeignKey('pretixbase.OrderPosition', related_name='checkins')
datetime = models.DateTimeField(default=now)
nonce = models.CharField(max_length=190, null=True, blank=True)