From 42b76970018a4765d7e847a5db8c78f730414915 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sun, 24 Nov 2019 17:18:05 +0300 Subject: [PATCH] show locked status in feed form --- feeds/forms.py | 2 +- feeds/templates/cabinet/feeds/feed_form.html | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/feeds/forms.py b/feeds/forms.py index f8fb6b7..008d9ac 100644 --- a/feeds/forms.py +++ b/feeds/forms.py @@ -12,7 +12,7 @@ class FeedForm(ModelForm): class Meta: model = Feed - exclude = 'owner', 'lock', 'config_type', 'config_id', 'last_check', 'last_id', + exclude = 'owner', 'config_type', 'config_id', 'last_check', 'last_id', class FeedsAppConfigForm(ConfigForm): diff --git a/feeds/templates/cabinet/feeds/feed_form.html b/feeds/templates/cabinet/feeds/feed_form.html index 7b373c1..69bb8d9 100644 --- a/feeds/templates/cabinet/feeds/feed_form.html +++ b/feeds/templates/cabinet/feeds/feed_form.html @@ -28,6 +28,15 @@ +
+ +
+
+ + +
+
+
{% endif %}

Module options