mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Refs #96 -- Allow anonymous orders
This commit is contained in:
19
src/pretix/base/migrations/0016_order_guest_email.py
Normal file
19
src/pretix/base/migrations/0016_order_guest_email.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pretixbase', '0015_auto_20150916_2219'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='guest_email',
|
||||
field=models.EmailField(max_length=254, verbose_name='E-mail', blank=True, null=True),
|
||||
),
|
||||
]
|
||||
19
src/pretix/base/migrations/0017_order_guest_locale.py
Normal file
19
src/pretix/base/migrations/0017_order_guest_locale.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pretixbase', '0016_order_guest_email'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='order',
|
||||
name='guest_locale',
|
||||
field=models.CharField(max_length=32, null=True, blank=True, verbose_name='Locale'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user