only show primary sections on editor index
This commit is contained in:
parent
9f1f8c78ba
commit
475f8f3523
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def child_model(model_name, kwargs=None, parent=None):
|
|||
@sidebar_view
|
||||
def main_index(request):
|
||||
return render(request, 'editor/index.html', {
|
||||
'sections': Section.objects.all(),
|
||||
'sections': Section.objects.filter(on_top_of__isnull=True),
|
||||
'child_models': [
|
||||
child_model('LocationGroup'),
|
||||
child_model('Source'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue