#NEWLINE# def add_groups( * args ) : #NEWLINE# #INDENT# ( group , created ) = Group . objects . get_or_create ( name = 'prereg_group' ) #NEWLINE# if group : #NEWLINE# #INDENT# logger . info ( 'prereg_group created' ) #NEWLINE# #UNINDENT# ( group , created ) = Group . objects . get_or_create ( name = 'osf_admin' ) #NEWLINE# if created : #NEWLINE# #INDENT# logger . info ( 'osf_admin group created' ) #NEWLINE# #UNINDENT# ( group , created ) = Group . objects . get_or_create ( name = 'osf_group' ) #NEWLINE# if created : #NEWLINE# #INDENT# logger . info ( 'osf_group created' )