# HG changeset patch # User neko259 # Date 2014-01-22 14:18:54 # Node ID a519da7850a320170eb2ca1ef03d0876127f04ca # Parent d1d83f7276908bb20731b9722c65ac6b58b854cb Staticpage view fix diff --git a/boards/urls.py b/boards/urls.py --- a/boards/urls.py +++ b/boards/urls.py @@ -55,7 +55,7 @@ urlpatterns = patterns('', url(r'^banned/$', views.banned.BannedView.as_view(), name='banned'), url(r'^staticpage/(?P\w+)/$', StaticPageView.as_view(), - name='staticpage'), + name='staticpage'), # RSS feeds url(r'^rss/$', AllThreadsFeed()), diff --git a/boards/views/static.py b/boards/views/static.py --- a/boards/views/static.py +++ b/boards/views/static.py @@ -4,7 +4,7 @@ from boards.views.base import BaseBoardV class StaticPageView(BaseBoardView): - def get(request, name): + def get(self, request, name): """ Show a static page that needs only tags list and a CSS """