#NEWLINE# def __init__( self , model ) : #NEWLINE# #INDENT# '\n        Constructor\n\n        Parameters\n        ----------\n        model : django model class\n            A django model class.\n\n        .. note::\n            LogicalPermissionHandler cannot treat application level permission\n        ' #NEWLINE# if isinstance ( model , str ) : #NEWLINE# #INDENT# raise AttributeError ( ( "'%s' cannot treat application level permission." % self . __class__ ) ) #NEWLINE# #UNINDENT# super ( LogicalPermissionHandler , self ) . __init__ ( self )