#NEWLINE# @ signalcommand #NEWLINE# def handle( self , * args , **options ) : #NEWLINE# #INDENT# apps = set ( ) #NEWLINE# if ( not args ) : #NEWLINE# #INDENT# apps = get_all_apps ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# for arg in args : #NEWLINE# #INDENT# apps . add ( get_app ( arg ) ) #NEWLINE# #UNINDENT# #UNINDENT# for app in arg : #NEWLINE# #INDENT# create_permissions ( app , get_models ( ) , int ( options . get ( 'verbosity' , 3 ) ) )