Ticket #13150: options.diff

File options.diff, 1002 bytes (added by lsbardel, 15 years ago)
  • django/contrib/admin/options.py

     
    842842            'adminform': adminForm,
    843843            'is_popup': request.REQUEST.has_key('_popup'),
    844844            'show_delete': False,
    845             'media': mark_safe(media),
     845            'media': media,
    846846            'inline_admin_formsets': inline_admin_formsets,
    847847            'errors': helpers.AdminErrorList(form, formsets),
    848848            'root_path': self.admin_site.root_path,
     
    934934            'object_id': object_id,
    935935            'original': obj,
    936936            'is_popup': request.REQUEST.has_key('_popup'),
    937             'media': mark_safe(media),
     937            'media': media,
    938938            'inline_admin_formsets': inline_admin_formsets,
    939939            'errors': helpers.AdminErrorList(form, formsets),
    940940            'root_path': self.admin_site.root_path,
Back to Top