forked from CGM_Public/pretix_original
Removed redundant operators
This commit is contained in:
@@ -309,7 +309,7 @@ class Organizer(Versionable):
|
|||||||
max_length=50, db_index=True,
|
max_length=50, db_index=True,
|
||||||
help_text=_(
|
help_text=_(
|
||||||
"Should be short, only contain lowercase letters and numbers, and must be unique among your events. "
|
"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=[
|
validators=[
|
||||||
RegexValidator(
|
RegexValidator(
|
||||||
regex="^[a-zA-Z0-9.-]+$",
|
regex="^[a-zA-Z0-9.-]+$",
|
||||||
@@ -406,7 +406,7 @@ class Event(Versionable):
|
|||||||
max_length=50, db_index=True,
|
max_length=50, db_index=True,
|
||||||
help_text=_(
|
help_text=_(
|
||||||
"Should be short, only contain lowercase letters and numbers, and must be unique among your events. "
|
"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=[
|
validators=[
|
||||||
RegexValidator(
|
RegexValidator(
|
||||||
regex="^[a-zA-Z0-9.-]+$",
|
regex="^[a-zA-Z0-9.-]+$",
|
||||||
|
|||||||
Reference in New Issue
Block a user