Add and exclude Index instance columns

Exclude inherited columns from the Index models.
Add the label columns to Index instances.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-07-06 04:10:41 -04:00
parent 06c3ef6583
commit 97804b255b
2 changed files with 10 additions and 2 deletions

View File

@@ -278,6 +278,7 @@ class IndexListView(SingleObjectListView):
def get_extra_context(self):
return {
'hide_object': True,
'hide_links': True,
'no_results_icon': icon_index,
'no_results_main_link': link_index_template_create.resolve(