mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Stop using Django's SlugField to avoid conflicting validation
This commit is contained in:
@@ -32,7 +32,7 @@ class Organizer(LoggedModel):
|
||||
settings_namespace = 'organizer'
|
||||
name = models.CharField(max_length=200,
|
||||
verbose_name=_("Name"))
|
||||
slug = models.SlugField(
|
||||
slug = models.CharField(
|
||||
max_length=50, db_index=True,
|
||||
help_text=_(
|
||||
"Should be short, only contain lowercase letters, numbers, dots, and dashes. Every slug can only be used "
|
||||
|
||||
Reference in New Issue
Block a user