Mercurial > odfcast > odfcast
comparison odfcast/convert.py @ 18:585904e7411a
Add html for converting a odf with a template
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 14:18:11 +0200 |
parents | f4920ab1d27c |
children | 2f627039d2b4 |
comparison
equal
deleted
inserted
replaced
17:75d5d18e7d52 | 18:585904e7411a |
---|---|
87 return Response(outfile, mimetype=mimetype) | 87 return Response(outfile, mimetype=mimetype) |
88 | 88 |
89 def get_datadict(self): | 89 def get_datadict(self): |
90 vars = request.form['datadict'] | 90 vars = request.form['datadict'] |
91 return json.loads(vars) | 91 return json.loads(vars) |
92 | |
93 def get(self): | |
94 return render_template("template_convert.html") |