<s> from onadata . apps . logger . models . xform import XForm <EOL> class AnonymousUserPublicFormsMixin ( object ) : <EOL> def _get_public_forms_queryset ( self ) : <EOL> return XForm . objects . filter ( shared = True ) <EOL> def get_queryset ( self ) : <EOL> """<STR_LIT>""" <EOL> if self . request and self . request . user . is_anonymous ( ) : <EOL> return self . _get_public_forms_queryset ( ) <EOL> return super ( AnonymousUserPublicFormsMixin , self ) . get_queryset ( ) </s>
