Commit ed86cff1 authored by Guillaume Mella's avatar Guillaume Mella
Browse files

fix content_type

parent 60f38538
......@@ -8,6 +8,7 @@ from jmdc_app.models.star_info import StarInfo
def jmdc_export_csv(request):
session = request.dbsession
request.response.content_type = 'text/plain'
stars = session.query(StarInfo).all()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment