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."] )