diff options
author | Dan McGee <dan@archlinux.org> | 2011-10-12 02:29:15 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-10-12 02:29:15 +0200 |
commit | 71e57570c262fffb11ca6e0dc97342119198f740 (patch) | |
tree | 3736af12cda316baffbcc4e5ba2a43f41901b847 /news | |
parent | a01a11cfad84bd44c1f5aeffcc0665bd93889e1d (diff) | |
download | archweb-71e57570c262fffb11ca6e0dc97342119198f740.tar.gz archweb-71e57570c262fffb11ca6e0dc97342119198f740.tar.xz |
Pylint suggested and other cleanups
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'news')
-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 990ee15..7ac009b 100644 --- a/news/views.py +++ b/news/views.py @@ -32,7 +32,7 @@ def news_list(request): class NewsForm(forms.ModelForm): class Meta: model = News - exclude=('id', 'slug', 'author', 'postdate') + exclude = ('id', 'slug', 'author', 'postdate') def find_unique_slug(newsitem): '''Attempt to find a unique slug for this news item.''' |