diff --git a/django/contrib/admin/views/main.py b/django/contrib/admin/views/main.py index bae71bec923..879fc298f0c 100644 --- a/django/contrib/admin/views/main.py +++ b/django/contrib/admin/views/main.py @@ -378,9 +378,9 @@ def render_change_form(opts, manipulator, app_label, context, add=False, change= extra_context = { 'add': add, 'change': change, - 'bound_manipulator' : AdminBoundManipulator(opts, manipulator, context['form']), - 'has_delete_permission' : context['perms'][app_label][opts.get_delete_permission()], - 'form_url' : form_url, + 'bound_manipulator': AdminBoundManipulator(opts, manipulator, context['form']), + 'has_delete_permission': context['perms'][app_label][opts.get_delete_permission()], + 'form_url': form_url, 'app_label': app_label, } context.update(extra_context)