Example #1
0
	def get():
		entries = service.get_all_entries(sort=[-Entry.created])
		view = [EntryAdminView(entry).__dict__ for entry in entries]
		return Response(json.dumps(view), 200, mimetype='application/json')
Example #2
0
 def get():
     entries = service.get_all_entries(sort=[-Entry.created])
     view = [EntryAdminView(entry).__dict__ for entry in entries]
     return Response(json.dumps(view), 200, mimetype='application/json')
Example #3
0
	def get(self):
		entries = service.get_all_entries()
		return get_sorted_entries_response_by_date(entries)
Example #4
0
 def get(self):
     entries = service.get_all_entries()
     return get_sorted_entries_response_by_date(entries)