Add url namespaces for the documents and folders apps
This commit is contained in:
@@ -103,7 +103,7 @@ class Document(models.Model):
|
||||
|
||||
@models.permalink
|
||||
def get_absolute_url(self):
|
||||
return ('document_view_simple', [self.pk])
|
||||
return ('documents:document_view_simple', [self.pk])
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
if not self.pk:
|
||||
|
||||
Reference in New Issue
Block a user