Add url namespaces for the documents and folders apps

This commit is contained in:
Roberto Rosario
2014-08-26 03:44:07 -04:00
parent a324ec78d6
commit c4de4b3f30
10 changed files with 82 additions and 82 deletions

View File

@@ -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: