summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-10-12 02:29:15 +0200
committerDan McGee <dan@archlinux.org>2011-10-12 02:29:15 +0200
commit71e57570c262fffb11ca6e0dc97342119198f740 (patch)
tree3736af12cda316baffbcc4e5ba2a43f41901b847 /news
parenta01a11cfad84bd44c1f5aeffcc0665bd93889e1d (diff)
downloadarchweb-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.py2
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.'''