##// END OF EJS Templates
Staticpage view fix
neko259 -
r577:a519da78 default
parent child Browse files
Show More
@@ -55,7 +55,7 b" urlpatterns = patterns('',"
55
55
56 url(r'^banned/$', views.banned.BannedView.as_view(), name='banned'),
56 url(r'^banned/$', views.banned.BannedView.as_view(), name='banned'),
57 url(r'^staticpage/(?P<name>\w+)/$', StaticPageView.as_view(),
57 url(r'^staticpage/(?P<name>\w+)/$', StaticPageView.as_view(),
58 name='staticpage'),
58 name='staticpage'),
59
59
60 # RSS feeds
60 # RSS feeds
61 url(r'^rss/$', AllThreadsFeed()),
61 url(r'^rss/$', AllThreadsFeed()),
@@ -4,7 +4,7 b' from boards.views.base import BaseBoardV'
4
4
5 class StaticPageView(BaseBoardView):
5 class StaticPageView(BaseBoardView):
6
6
7 def get(request, name):
7 def get(self, request, name):
8 """
8 """
9 Show a static page that needs only tags list and a CSS
9 Show a static page that needs only tags list and a CSS
10 """
10 """
General Comments 0
You need to be logged in to leave comments. Login now