forked from CGM_Public/pretix_original
* Basic functionality * API * Do not delete seats with vouchers * Show seat in list of seats * Validate availability of seats * Fix invalid logic in Seat.is_available * Show voucher name in edit form
20 lines
508 B
Python
20 lines
508 B
Python
# Generated by Django 2.2.4 on 2019-11-14 11:49
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('pretixbase', '0139_auto_20191019_1317'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='voucher',
|
|
name='seat',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, related_name='vouchers', to='pretixbase.Seat'),
|
|
),
|
|
]
|