Fix internal page url
This commit is contained in:
parent
3ed4fc7a0e
commit
724aadbe20
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ class InternalProblem(ListView):
|
||||||
context = super(InternalProblem, self).get_context_data(**kwargs)
|
context = super(InternalProblem, self).get_context_data(**kwargs)
|
||||||
context["page_type"] = "problem"
|
context["page_type"] = "problem"
|
||||||
context["title"] = self.title
|
context["title"] = self.title
|
||||||
|
context["page_prefix"] = self.request.path + "?page="
|
||||||
|
context["first_page_href"] = self.request.path
|
||||||
|
|
||||||
return context
|
return context
|
||||||
|
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
|
|
Loading…
Reference in a new issue