mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Use CachedTicket.get_or_create to avoid duplicates
This commit is contained in:
21
src/pretix/base/migrations/0041_auto_20161018_1654.py
Normal file
21
src/pretix/base/migrations/0041_auto_20161018_1654.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.2 on 2016-10-18 16:54
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import django.db.models.deletion
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pretixbase', '0040_u2fdevice'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='cachedticket',
|
||||
name='cachedfile',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='pretixbase.CachedFile'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user