#NEWLINE# def get_permission_required( self , request = None ) : #NEWLINE# #INDENT# '\n        Get the required permissions and return them.\n\n        Override this to allow for custom permission_required values.\n        ' #NEWLINE# if ( self . permission_required is None ) : #NEWLINE# #INDENT# raise ImproperlyConfigured ( '{0} requires the "permission_required" attribute to be set.' . format ( self . __class__ . __name__ ) ) #NEWLINE# #UNINDENT# return self . permission_required