mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 15:21:52 +00:00
lengthen url field, i hope
This commit is contained in:
parent
8463f8947e
commit
748cb91a20
@ -101,7 +101,7 @@ class Cave(TroggleModel):
|
|||||||
underground_centre_line = models.TextField(blank=True, null=True)
|
underground_centre_line = models.TextField(blank=True, null=True)
|
||||||
underground_description = 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)
|
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:
|
# class Meta:
|
||||||
# unique_together = (("area", "kataster_number"), ("area", "unofficial_number"))
|
# 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")
|
slug = models.SlugField(max_length=50, unique=True, default="default_slug_id")
|
||||||
tag_station = models.TextField(blank=True, null=True)
|
tag_station = models.TextField(blank=True, null=True)
|
||||||
underground_description = 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:
|
class Meta:
|
||||||
ordering = ["caveandentrance__entrance_letter"]
|
ordering = ["caveandentrance__entrance_letter"]
|
||||||
|
Loading…
Reference in New Issue
Block a user