Last minute addition for badge registration.

This commit is contained in:
Vidir Valberg Gudmundsson 2017-08-23 12:29:28 +02:00
parent f952370280
commit 3885bad0c8
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-08-23 10:28
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('tickets', '0003_auto_20170819_2309'),
]
operations = [
migrations.AddField(
model_name='discountticket',
name='badge_handed_out',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='shopticket',
name='badge_handed_out',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='sponsorticket',
name='badge_handed_out',
field=models.BooleanField(default=False),
),
]

View file

@ -31,6 +31,8 @@ class BaseTicket(CreatedUpdatedModel, UUIDModel):
ticket_type = models.ForeignKey('TicketType')
checked_in = models.BooleanField(default=False)
badge_handed_out = models.BooleanField(default=False)
class Meta:
abstract = True