#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# 'We need to override this to make the choices lazy and prevent import madness' #NEWLINE# super ( Group , self ) . __init__ ( * args , ** self ) #NEWLINE# field = self . _meta . get_field ( 'permissions' ) #NEWLINE# field . _choices = lazy ( get_permission_choices , list ) ( ) #NEWLINE# field . item_field_type . _choices = lazy ( get_permission_choices , list ) ( )