summaryrefslogtreecommitdiffstats
path: root/core/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/forms.py')
-rw-r--r--core/forms.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/core/forms.py b/core/forms.py
index 05b982a..bd90490 100644
--- a/core/forms.py
+++ b/core/forms.py
@@ -180,11 +180,11 @@ class EntranceForm(ModelForm):
required=False,
widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Usually blank"}),
)
- bearings = forms.CharField(
- label="Bearings (obsolete)",
- required=False,
- widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Usually blank"}),
- )
+ # bearings = forms.CharField(
+ # label="Bearings (obsolete)",
+ # required=False,
+ # widget=HTMLarea(attrs={"height": "80%", "rows": 20, "placeholder": "Usually blank"}),
+ # )
tag_station = forms.CharField(
required=False,
widget=forms.TextInput(attrs={"size": "50","placeholder": "e.g. 1623.t2035-zb-03a"}),
@@ -214,7 +214,8 @@ class EntranceForm(ModelForm):
exclude = (
"cached_primary_slug",
"filename",
- "slug"
+ "slug",
+ "bearings"
)
def clean(self):