1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Removed unnecessary parentheses in various code.

This commit is contained in:
Jon Dufresne
2019-11-18 06:25:59 -08:00
committed by Mariusz Felisiak
parent 11e327a3ff
commit e649d691f8
4 changed files with 4 additions and 4 deletions

View File

@@ -126,7 +126,7 @@ class ViewIndexView(BaseAdminDocsView):
'full_name': get_view_name(func),
'url': simplify_regex(regex),
'url_name': ':'.join((namespace or []) + (name and [name] or [])),
'namespace': ':'.join((namespace or [])),
'namespace': ':'.join(namespace or []),
'name': name,
})
return super().get_context_data(**{**kwargs, 'views': views})