fix reverse subsite
This commit is contained in:
parent
ca6062f5af
commit
3288c2af78
@ -26,7 +26,7 @@ class Subsite(models.Model):
|
||||
return self.name
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse('subsite', args=[self.slug])
|
||||
return reverse('ideas_popular', args=[self.slug])
|
||||
|
||||
def user_can_post(self, user):
|
||||
if self.post_status == DISALLOW_ALL:
|
||||
|
Loading…
Reference in New Issue
Block a user