#NEWLINE# def get_urls( self ) : #NEWLINE# #INDENT# from django.conf.urls import url #NEWLINE# def wrap( view ) : #NEWLINE# #INDENT# def wrapper( * args , **kwargs ) : #NEWLINE# #INDENT# return self . admin_site . admin_view ( view ) ( * args , ** kwargs ) #NEWLINE# #UNINDENT# return update_wrapper ( wrapper , view ) #NEWLINE# #UNINDENT# info = ( self . model . _meta . app_label , self . model . _meta . model_name ) #NEWLINE# urlpatterns = super ( BulkModelAdmin , self ) . get_urls ( ) #NEWLINE# urlpatterns . insert ( 0 , url ( '^bulk/$' , wrap ( self . bulk_view ) , name = ( '%s_%s_bulk' % info ) ) ) #NEWLINE# return wrap