Skip to content

Commit

Permalink
Allow longer urls
Browse files Browse the repository at this point in the history
We currently allow titles up to 200 characters. External url's using the same title will fail in that case.
  • Loading branch information
johanvdw authored and rixx committed Feb 12, 2024
1 parent 7d85e4a commit 6d58ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pretalx/submission/models/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Resource(PretalxModel):
null=True,
blank=True,
)
link = models.URLField(verbose_name=_("URL"), null=True, blank=True)
link = models.URLField(max_length=400, verbose_name=_("URL"), null=True, blank=True)
description = models.CharField(
null=True, blank=True, max_length=1000, verbose_name=_("Description")
)
Expand Down

0 comments on commit 6d58ffa

Please sign in to comment.