mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Added multi-domain capabilities
This commit is contained in:
22
src/pretix/multidomain/migrations/0001_initial.py
Normal file
22
src/pretix/multidomain/migrations/0001_initial.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import versions.models
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pretixbase', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='KnownDomain',
|
||||
fields=[
|
||||
('domainname', models.CharField(serialize=False, max_length=255, primary_key=True)),
|
||||
('organizer', versions.models.VersionedForeignKey(blank=True, to='pretixbase.Organizer', null=True)),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user