Пример #1
0
	def GET(self, cururl):
		categorys = json.loads(appblog.category().GET())
		blogs = json.loads(appblog.bloglist().GET(0, 1, 40))
		return render.index(menuname = '/', 
				login=islogin(), 
				mgrprivilege=mgrprivilege(), 
				photocount=8, 
				categorys=categorys,
				blogs=blogs)
Пример #2
0
	def GET(self, cururl):
		return render.index(login=islogin(), mgrprivilege=mgrprivilege(), 
				photocount=8, blogcount=15)