From 6025f0b1dc2afeab5be742b234e6ca60907c7bc7 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 25 Sep 2025 22:18:20 +0300 Subject: [PATCH] spelix fixedpts allow --- core/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/forms.py b/core/forms.py index 67ffcfe..f0a6d6a 100644 --- a/core/forms.py +++ b/core/forms.py @@ -245,7 +245,7 @@ class EntranceForm(ModelForm): cleaned_data = super(EntranceForm, self).clean() # where is this code hidden? How does this work?? for station in ["tag_station", "other_station"]: print(f"{station} -- {self.data.get(station)[:4]}") - if self.data.get(station)[:5] not in ["1623.", "1626.", "1627.", "1624.", ""]: + if self.data.get(station)[:5] not in ["1623.", "1626.", "1627.", "1624.", "", "speli"]: # spelix1623 self._errors[station] = self.error_class( ["An Austrian kataster areacode, i.e. 1623, 1626, 1627, or 1624 prefix is required."] )