(self)
return self._app
:rtype: wechat_django.models.WeChatApp
:rtype: wechat_django.models.WeChatApp
: rtype : wechat_django . models . WeChatApp
def app(self):
        """
        :rtype: wechat_django.models.WeChatApp
        """
        if not hasattr(self, "_app"):
            try:
                self._app = self.app_queryset.get_by_name(self.appname)
            except self.app_queryset.model.DoesNotExist:
                raise Http404()
        return self._app
def app ( self ) : if not hasattr ( self , "_app" ) : try : self . _app = self . app_queryset . get_by_name ( self . appname ) except self . app_queryset . model . DoesNotExist : raise Http404 ( ) return self . _app