mirror of https://github.com/django/django.git
Fixed inconsistent spacing in contrib.admin.views.main
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9e2b463baf
commit
dc2daff31f
|
@ -378,9 +378,9 @@ def render_change_form(opts, manipulator, app_label, context, add=False, change=
|
||||||
extra_context = {
|
extra_context = {
|
||||||
'add': add,
|
'add': add,
|
||||||
'change': change,
|
'change': change,
|
||||||
'bound_manipulator' : AdminBoundManipulator(opts, manipulator, context['form']),
|
'bound_manipulator': AdminBoundManipulator(opts, manipulator, context['form']),
|
||||||
'has_delete_permission' : context['perms'][app_label][opts.get_delete_permission()],
|
'has_delete_permission': context['perms'][app_label][opts.get_delete_permission()],
|
||||||
'form_url' : form_url,
|
'form_url': form_url,
|
||||||
'app_label': app_label,
|
'app_label': app_label,
|
||||||
}
|
}
|
||||||
context.update(extra_context)
|
context.update(extra_context)
|
||||||
|
|
Loading…
Reference in New Issue