def get(self): data = { 'topics': models.latestTopics(), 'messages': models.latestMessages(), 'users': models.latestUsers() } self.show('admin', data)
def get(self): data={ 'topics' :models.latestTopics(), 'messages':models.latestMessages(), 'users' :models.latestUsers() } self.show('admin',data)
def get(self): data = {'list': models.latestTopics(50)} self.show('admin_topics', data)
def get(self): data={'list':models.latestTopics(50)} self.show('admin_topics',data)