Add ACLs to document indexes. Convert all document indexing views to CBV. Remove the document index setup permission. Add view tests to the document indexing app. Use MPTT methods and stop relying on undocumented API.
This commit is contained in:
@@ -136,7 +136,7 @@ class IndexTemplateNode(MPTTModel):
|
||||
|
||||
def __str__(self):
|
||||
if self.is_root_node():
|
||||
return ugettext('<%s Root>') % self.index
|
||||
return ugettext('Root')
|
||||
else:
|
||||
return self.expression
|
||||
|
||||
|
||||
Reference in New Issue
Block a user