Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

really fix admin import

  • Loading branch information...
commit 67ce57acca2f4d7e68ea303e66216cf6ac058378 1 parent dd7f7b4
@wardi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  pages/admin/actions.py
View
2  pages/admin/actions.py
@@ -29,7 +29,7 @@ def import_pages_from_json(request,
except KeyError:
return redirect('admin:page-index')
- errors, pages_created = json_to_pages(j, request.user,
+ errors, pages_created = json_to_pages(j.read(), request.user,
get_language_from_request(request))
return render_to_response(template_name, {
Please sign in to comment.
Something went wrong with that request. Please try again.