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.latestMessages(50)} self.show('admin_messages', data)
def get(self): data={'list':models.latestMessages(50)} self.show('admin_messages',data)