##// END OF EJS Templates
Fixed page 404 and some tests
neko259 -
r1988:5bf4a97e default
parent child Browse files
Show More
@@ -1,5 +1,5 b''
1 import logging
1 import logging
2 from django.core.urlresolvers import reverse, NoReverseMatch
2 from django.urls import reverse, NoReverseMatch
3 from django.test import TestCase, Client
3 from django.test import TestCase, Client
4 from boards import urls
4 from boards import urls
5
5
@@ -8,7 +8,7 b' class NotFoundView(BaseBoardView):'
8 Page 404 (not found)
8 Page 404 (not found)
9 """
9 """
10
10
11 def get(self, request):
11 def get(self, request, *args, **kwargs):
12 params = self.get_context_data()
12 params = self.get_context_data()
13
13
14 response = render(request, 'boards/404.html', params)
14 response = render(request, 'boards/404.html', params)
General Comments 0
You need to be logged in to leave comments. Login now