mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Removed redundant operators
This commit is contained in:
@@ -309,7 +309,7 @@ class Organizer(Versionable):
|
||||
max_length=50, db_index=True,
|
||||
help_text=_(
|
||||
"Should be short, only contain lowercase letters and numbers, and must be unique among your events. "
|
||||
+ "This is being used in addresses and bank transfer references."),
|
||||
"This is being used in addresses and bank transfer references."),
|
||||
validators=[
|
||||
RegexValidator(
|
||||
regex="^[a-zA-Z0-9.-]+$",
|
||||
@@ -406,7 +406,7 @@ class Event(Versionable):
|
||||
max_length=50, db_index=True,
|
||||
help_text=_(
|
||||
"Should be short, only contain lowercase letters and numbers, and must be unique among your events. "
|
||||
+ "This is being used in addresses and bank transfer references."),
|
||||
"This is being used in addresses and bank transfer references."),
|
||||
validators=[
|
||||
RegexValidator(
|
||||
regex="^[a-zA-Z0-9.-]+$",
|
||||
|
||||
Reference in New Issue
Block a user