Skip to content

Commit

Permalink
Merge pull request #104 from ccnmtl/clone-hierarchy-view
Browse files Browse the repository at this point in the history
Add csrf_token to clone_hierarchy form
  • Loading branch information
nikolas committed Jul 10, 2015
2 parents c03d63f + 3b1bdba commit 1fd247c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1.1.8 (2015-07-10)
==================
* Add csrf_token to base clone_hierarchy form

1.1.7 (2015-06-26)
==================
* Fixed some places where pagetree was executing duplicate db queries.
Expand Down
1 change: 1 addition & 0 deletions pagetree/templates/pagetree/clone_hierarchy.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ <h1>Clone {{ hierarchy.name }}</h1>
<div id="clone-hierarchy-tab" class="tab-pane">
<form action="{% url 'clone-hierarchy' hierarchy.id %}"
method="post" class="form-inline">
{% csrf_token %}
{{form|bootstrap }}
<input type="submit" value="clone" class="btn btn-primary" />
</form>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

setup(
name="django-pagetree",
version="1.1.7",
version="1.1.8",
author="Anders Pearson",
author_email="[email protected]",
url="https://github.com/ccnmtl/django-pagetree",
Expand Down

0 comments on commit 1fd247c

Please sign in to comment.