Commits

Steve Losh  committed 31c010f

Add a manual csrf token to the page move form.

closes #2

  • Participants
  • Parent commits dd68042

Comments (0)

Files changed (1)

File stoat/templates/admin/stoat/page/change_list.html

 {% block content %}
     {{ block.super }}
     <form action="{{ request.path }}move-page/" id="move-page" method="post">
+        {% csrf_token %}
         <input type="hidden" class="page" value="" name="page" />
         <input type="hidden" class="target" value="" name="target" />
         <input type="hidden" class="position" value="" name="position" />