From 748cb91a20add6391939d4730548bd677d06ae8c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 25 Jul 2023 01:33:46 +0300 Subject: [PATCH] lengthen url field, i hope --- core/models/caves.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/models/caves.py b/core/models/caves.py index 7ab5d46..d0520fb 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -101,7 +101,7 @@ class Cave(TroggleModel): underground_centre_line = models.TextField(blank=True, null=True) underground_description = models.TextField(blank=True, null=True) unofficial_number = models.CharField(max_length=60, blank=True, null=True) - url = models.CharField(max_length=200, blank=True, null=True, unique = True) + url = models.CharField(max_length=300, blank=True, null=True, unique = True) # class Meta: # unique_together = (("area", "kataster_number"), ("area", "unofficial_number")) @@ -303,7 +303,7 @@ class Entrance(TroggleModel): slug = models.SlugField(max_length=50, unique=True, default="default_slug_id") tag_station = models.TextField(blank=True, null=True) underground_description = models.TextField(blank=True, null=True) - url = models.CharField(max_length=200, blank=True, null=True) + url = models.CharField(max_length=300, blank=True, null=True) class Meta: ordering = ["caveandentrance__entrance_letter"]