summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--news/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/news/views.py b/news/views.py
index 52182800..efd93fdb 100644
--- a/news/views.py
+++ b/news/views.py
@@ -28,7 +28,7 @@ def find_unique_slug(newsitem):
class NewsForm(forms.ModelForm):
class Meta:
model = News
- exclude = ('id', 'slug', 'author', 'postdate')
+ exclude = ('id', 'slug', 'author', 'postdate', 'safe_mode')
class NewsDetailView(DetailView):