#NEWLINE# def add_default_projector( apps , schema_editor ) : #NEWLINE# #INDENT# '\n    Adds default projector and activates clock.\n    ' #NEWLINE# Projector = apps . get_model ( 'core' , 'Projector' ) #NEWLINE# projector_config = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# projector_config [ uuid . uuid4 ( ) . hex ] = { #NEWLINE# #INDENT# 'name' : 'core/clock' , #NEWLINE# 'stable' : True , #NEWLINE# #UNINDENT# } #NEWLINE# Projector . objects . bulk_create ( [ Projector ( config = schema_editor ) ] )