2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 00:31:55 +00:00

Added an ordering of entrances

This commit is contained in:
Martin Green 2023-04-30 21:41:17 +01:00
parent c50236575f
commit c7b3e8aff0

View File

@ -176,6 +176,8 @@ class EntranceForm(ModelForm):
alt = forms.CharField(required=False, label="Altitude (m)") alt = forms.CharField(required=False, label="Altitude (m)")
url = forms.CharField(required=False, label="URL [usually blank]", widget=forms.TextInput(attrs={"size": "45"})) url = forms.CharField(required=False, label="URL [usually blank]", widget=forms.TextInput(attrs={"size": "45"}))
field_order = ['name', 'entrance_description', 'explorers', 'map_description', 'location_description', 'lastvisit', 'approach', 'underground_description', 'photo', 'marking_comment', 'findability_description', 'other_description', 'bearings', 'other_station', 'tag_station', 'exact_station', 'northing', 'easting', 'lat_wgs84', 'long_wgs84', 'alt', 'url']
class Meta: class Meta:
model = Entrance model = Entrance
exclude = ( exclude = (