Fix comment stream link
This commit is contained in:
parent
d97c77728f
commit
e15f05f323
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class Comment(MPTTModel):
|
||||||
try:
|
try:
|
||||||
link = None
|
link = None
|
||||||
if self.page.startswith('p:'):
|
if self.page.startswith('p:'):
|
||||||
link = reverse('problem_detail', args=(self.page[2:],))
|
link = reverse('problem_comments', args=(self.page[2:],))
|
||||||
elif self.page.startswith('c:'):
|
elif self.page.startswith('c:'):
|
||||||
link = reverse('contest_view', args=(self.page[2:],))
|
link = reverse('contest_view', args=(self.page[2:],))
|
||||||
elif self.page.startswith('b:'):
|
elif self.page.startswith('b:'):
|
||||||
|
|
Loading…
Add table
Reference in a new issue