summaryrefslogtreecommitdiffstats
path: root/news/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'news/views.py')
-rw-r--r--news/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/news/views.py b/news/views.py
index 5218280..efd93fd 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):