summaryrefslogtreecommitdiff
path: root/news/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-11-11 15:47:44 -0600
committerDan McGee <dan@archlinux.org>2012-11-11 15:47:44 -0600
commitd616a40cf57d417775d7277a6d03f51c2967e8d9 (patch)
tree8e013840e1ce3fef6018b8619c961981e00db4d0 /news/views.py
parente26d5722289bd2e972633891d8dac09296b0cbc4 (diff)
Exclude news.safe_mode on news edit screenrelease_2012-11-11
Signed-off-by: Dan McGee <dan@archlinux.org>
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 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):