Ticket #5285: admin.patch
File admin.patch, 1.4 KB (added by , 17 years ago) |
---|
-
django/contrib/admin/templatetags/admin_modify.py
45 45 'show_delete_link': (not is_popup and context['has_delete_permission'] 46 46 and (change or context['show_delete'])), 47 47 'show_save_as_new': not is_popup and change and opts.admin.save_as, 48 'show_save_and_add_another': not is_popup and (not opts.admin.save_as or context['add']),48 'show_save_and_add_another': not is_popup and context['has_add_permission'] and (not opts.admin.save_as or context['add']), 49 49 'show_save_and_continue': not is_popup and context['has_change_permission'], 50 50 'show_save': True 51 51 } -
django/contrib/admin/views/auth.py
35 35 'change': False, 36 36 'has_delete_permission': False, 37 37 'has_change_permission': True, 38 'has_file_field': False, 38 'has_add_permission': True, 39 'has_file_field': False, 39 40 'has_absolute_url': False, 40 41 'auto_populated_fields': (), 41 42 'bound_field_sets': (),