Ignore:
Timestamp:
Oct 21, 2012, 10:25:30 PM (13 years ago)
Author:
Alex Dehnert <adehnert@…>
Branches:
master, space-access, stable, stage
Children:
ef00d33
Parents:
de025c2
git-author:
Alex Dehnert <adehnert@…> (10/21/12 22:25:30)
git-committer:
Alex Dehnert <adehnert@…> (10/21/12 22:25:30)
Message:

Serve membership/admin/issues.csv as text/csv

Firefox can be told to open a text/csv in the browser using the "Open in
browser" extension, so serving CSV files as text/plain no longer has
significant advantages (for me) over serving as text/csv, and has the
disadvantage of making it hard to open as a spreadsheet. Thus, I'm switching
back to text/csv.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asadb/forms/views.py

    rde025c2 r360b3d4  
    521521
    522522
    523     return HttpResponse(buf.getvalue(), mimetype='text/plain', )
     523    return HttpResponse(buf.getvalue(), mimetype='text/csv', )
Note: See TracChangeset for help on using the changeset viewer.