示例#1
0
文件: admin.py 项目: GeorgeNava/forum
 def get(self):
     data = {
         'topics': models.latestTopics(),
         'messages': models.latestMessages(),
         'users': models.latestUsers()
     }
     self.show('admin', data)
示例#2
0
文件: admin.py 项目: GeorgeNava/forum
 def get(self):
   data={
     'topics'  :models.latestTopics(),
     'messages':models.latestMessages(),
     'users'   :models.latestUsers()
   }
   self.show('admin',data)
示例#3
0
文件: admin.py 项目: GeorgeNava/forum
 def get(self):
     data = {'list': models.latestTopics(50)}
     self.show('admin_topics', data)
示例#4
0
文件: admin.py 项目: GeorgeNava/forum
 def get(self):
   data={'list':models.latestTopics(50)}
   self.show('admin_topics',data)