#NEWLINE# def for_user( self , user = None ) : #NEWLINE# #INDENT# '\n        Returns queryset of Team instances of groups for given user.\n        ' #NEWLINE# if ( not user ) : #NEWLINE# #INDENT# user = AnonymousUser ( ) #NEWLINE# #UNINDENT# queryset = self . get_query_set ( ) #NEWLINE# queryset = queryset . filter ( group__user = user ) #NEWLINE# return self