#NEWLINE# def has_permission( self , request ) : #NEWLINE# #INDENT# '\n        Returns True if the given HttpRequest has permission to view\n        *at least one* page in the admin site.\n        ' #NEWLINE# return ( request . user . is_active and request . user . is_staff )