diff options
author | Dan McGee <dan@archlinux.org> | 2012-11-11 22:47:44 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-11-11 22:47:44 +0100 |
commit | d616a40cf57d417775d7277a6d03f51c2967e8d9 (patch) | |
tree | 8e013840e1ce3fef6018b8619c961981e00db4d0 | |
parent | e26d5722289bd2e972633891d8dac09296b0cbc4 (diff) | |
download | archweb-d616a40cf57d417775d7277a6d03f51c2967e8d9.tar.gz archweb-d616a40cf57d417775d7277a6d03f51c2967e8d9.tar.xz |
Exclude news.safe_mode on news edit screen
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | news/views.py | 2 |
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): |