Skip to content

Commit

Permalink
Update to Django 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbepresent committed Jan 17, 2017
1 parent 121649d commit 81c9e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ajax_select/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def ajax_lookup(request,channel):
} for item in instances
])

return HttpResponse(results, mimetype='application/javascript')
return HttpResponse(results, content_type='application/javascript')


def add_popup(request,app_label,model):
Expand Down

0 comments on commit 81c9e70

Please sign in to comment.