コード例 #1
0
    def __init__(self,slug,request):
        #do something with request to get user obj
        self.user = User.objects.get(id=request.session['userid'])
        if request.GET['tg']:       
            self.tg = urllib.unquote_plus(request.GET['tg'])
        else:
            self.tg=None
        self.description = "rCache Entries by Tag: %s" % self.tg
        self.title = "rCache Entries By Tag: %s" % self.tg  

        Feed.__init__(self,slug,request.path)
コード例 #2
0
 def __init__(self,slug,request):
     #do something with request to get user obj
     self.user = User.objects.get(id=request.session['userid'])
     Feed.__init__(self,slug,request.path)