fix section view

This commit is contained in:
Andreas Stephanides
2017-01-20 15:43:30 +01:00
parent 2fd82f0bc9
commit 31f0001b12
3 changed files with 49 additions and 20 deletions

View File

@@ -35,6 +35,6 @@ def get(id):
section=Section.query.get(id)
clogger.info(section)
# section=SectionSchema().dump(section)[0]
return jsonify(section=section,articles=section.articles)
return jsonify(section=section)