mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-31 05:00:44 +00:00
Merge pull request #62 from foonicorn/features/contenttype
Replace deprecated mimetype with content_type
This commit is contained in:
commit
85eef4909a
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ class SortableAdmin(SortableAdminBase, ModelAdmin):
|
|||
pass
|
||||
|
||||
return HttpResponse(json.dumps(response, ensure_ascii=False),
|
||||
mimetype='application/json')
|
||||
content_type='application/json')
|
||||
|
||||
|
||||
class SortableInlineBase(SortableAdminBase, InlineModelAdmin):
|
||||
|
|
|
|||
Loading…
Reference in a new issue