diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-11-07 23:23:15 +0200 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-11-07 23:23:15 +0200 |
commit | 1e8a5bea6e50986218ecd550ce4978a967900970 (patch) | |
tree | f6cf789702ad44c368f6167364ba55c247ca776b /core | |
parent | 1ba37665b5ff17c92e2fc7d3587c166ffd79af96 (diff) | |
download | troggle-1e8a5bea6e50986218ecd550ce4978a967900970.tar.gz troggle-1e8a5bea6e50986218ecd550ce4978a967900970.tar.bz2 troggle-1e8a5bea6e50986218ecd550ce4978a967900970.zip |
ent.url removed and entrance edit path simplified
Diffstat (limited to 'core')
-rw-r--r-- | core/forms.py | 2 | ||||
-rw-r--r-- | core/models/caves.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/core/forms.py b/core/forms.py index 1c2c299..ffeaa11 100644 --- a/core/forms.py +++ b/core/forms.py @@ -185,7 +185,7 @@ class EntranceForm(ModelForm): model = Entrance exclude = ( "cached_primary_slug", - "filename", + "filename" ) def clean(self): diff --git a/core/models/caves.py b/core/models/caves.py index 01ec4a3..1c9eaf7 100644 --- a/core/models/caves.py +++ b/core/models/caves.py @@ -251,7 +251,6 @@ class Entrance(TroggleModel): photo = models.TextField(blank=True, null=True) slug = models.SlugField(max_length=50, unique=True, default="default_slug_id") underground_description = models.TextField(blank=True, null=True) - url = models.CharField(max_length=300, blank=True, null=True) tag_station = models.TextField(blank=True, null=True) other_station = models.TextField(blank=True, null=True) |