mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Removed CleanerVersion layer [backwards-incompatible!]
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
from django.db import models
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from versions.models import VersionedForeignKey
|
||||
|
||||
from pretix.base.models import Organizer
|
||||
|
||||
|
||||
class KnownDomain(models.Model):
|
||||
domainname = models.CharField(max_length=255, primary_key=True)
|
||||
organizer = VersionedForeignKey(Organizer, blank=True, null=True, related_name='domains')
|
||||
organizer = models.ForeignKey(Organizer, blank=True, null=True, related_name='domains')
|
||||
|
||||
class Meta:
|
||||
verbose_name = _("Known domain")
|
||||
|
||||
Reference in New Issue
Block a user