python3: force list of collectivity slugs to list type

This commit is contained in:
Frédéric Péters 2019-10-14 20:26:33 +02:00
parent f631bead2f
commit 92406b60d4
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ def get_goto_cell(page, request):
@register.assignment_tag
def get_collectivity_slugs():
return settings.COLLECTIVITY_LABELS.keys()
return list(settings.COLLECTIVITY_LABELS.keys())
@register.filter
def indice_values(indices):