[BUG] Transportation node does not accept complex links in link parameter

Fixes #856
This commit is contained in:
Sean Morley
2025-09-18 20:02:18 -04:00
parent 364f57c9d6
commit 0f9d31f4c5
2 changed files with 44 additions and 1 deletions

View File

File diff suppressed because one or more lines are too long

View File

@@ -305,7 +305,7 @@ class Transportation(models.Model):
name = models.CharField(max_length=200)
description = models.TextField(blank=True, null=True)
rating = models.FloatField(blank=True, null=True)
link = models.URLField(blank=True, null=True)
link = models.URLField(blank=True, null=True, max_length=2083)
date = models.DateTimeField(blank=True, null=True)
end_date = models.DateTimeField(blank=True, null=True)
start_timezone = models.CharField(max_length=50, choices=[(tz, tz) for tz in TIMEZONES], null=True, blank=True)