##// END OF EJS Templates
Fixed toggling "only favorite tags" setting
neko259 -
r2053:5a2e843c default
parent child Browse files
Show More
@@ -1,6 +1,6 b''
1 from django.core.paginator import EmptyPage
1 from django.core.paginator import EmptyPage
2 from django.http import Http404
2 from django.http import Http404
3 from django.shortcuts import render
3 from django.shortcuts import render, redirect
4 from django.urls import reverse
4 from django.urls import reverse
5 from django.utils.decorators import method_decorator
5 from django.utils.decorators import method_decorator
6 from django.views.decorators.csrf import csrf_protect
6 from django.views.decorators.csrf import csrf_protect
@@ -92,7 +92,7 b' class AllThreadsView(BaseBoardView, Pagi'
92 if PARAMETER_METHOD in request.POST:
92 if PARAMETER_METHOD in request.POST:
93 self.dispatch_method(request)
93 self.dispatch_method(request)
94
94
95 return self.get_reverse_url()
95 return redirect(self.get_reverse_url())
96
96
97 form = ThreadForm(request.POST, request.FILES,
97 form = ThreadForm(request.POST, request.FILES,
98 error_class=PlainErrorList)
98 error_class=PlainErrorList)
General Comments 0
You need to be logged in to leave comments. Login now