#NEWLINE# def handle( self , * app_labels , **options ) : #NEWLINE# #INDENT# model_defs = ModelDefinition . objects . all ( ) #NEWLINE# if app_labels : #NEWLINE# #INDENT# model_defs = model_defs . filter ( app_label__in = set ( ( app_label . split ( '.' ) [ 0 ] for app_label in app_labels ) ) ) #NEWLINE# #UNINDENT# for model_def in model_defs : #NEWLINE# #INDENT# model_def . model_class ( ) #NEWLINE# #UNINDENT# return super ( Command , self ) . handle ( * app_labels , ** options )