Make event slug helptext more accurate

This commit is contained in:
Raphael Michel
2017-11-11 21:50:30 +01:00
parent f5958a7ff2
commit aa40a27558
2 changed files with 5 additions and 4 deletions

View File

@@ -32,8 +32,9 @@ class Organizer(LoggedModel):
slug = models.SlugField(
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."),
"Should be short, only contain lowercase letters, numbers, dots, and dashes, and must be unique among your "
"events. "
"This is being used in URLs to refer to your events."),
validators=[
RegexValidator(
regex="^[a-zA-Z0-9.-]+$",