mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-31 10:36:04 +01:00
spelix fixedpts allow
This commit is contained in:
@@ -245,7 +245,7 @@ class EntranceForm(ModelForm):
|
|||||||
cleaned_data = super(EntranceForm, self).clean() # where is this code hidden? How does this work??
|
cleaned_data = super(EntranceForm, self).clean() # where is this code hidden? How does this work??
|
||||||
for station in ["tag_station", "other_station"]:
|
for station in ["tag_station", "other_station"]:
|
||||||
print(f"{station} -- {self.data.get(station)[:4]}")
|
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(
|
self._errors[station] = self.error_class(
|
||||||
["An Austrian kataster areacode, i.e. 1623, 1626, 1627, or 1624 prefix is required."]
|
["An Austrian kataster areacode, i.e. 1623, 1626, 1627, or 1624 prefix is required."]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user