Skip to content
Snippets Groups Projects
Verified Commit 895fd748 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Make entries in additional registration fields unique.

parent 0555babf
No related branches found
No related tags found
1 merge request!20Add dynamic fields to event registration
......@@ -22,6 +22,7 @@ class Voucher(models.Model):
class RegistrationField(models.Model):
class Meta:
app_label = 'ticdesk_events'
unique_together = ('project_cn', 'person_uid', 'title')
project_cn = models.CharField(max_length=50)
person_uid = models.CharField(max_length=20)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment