diff --git a/README.md b/README.md index 65ede23..5c15123 100644 --- a/README.md +++ b/README.md @@ -168,6 +168,8 @@ The previous `tox` system was removed with the v2 release, since we no longer ai # Version History +**2.2.1** Convert task delete and toggle_done views to POST only + **2.2.0** Re-instate enforcement of TODO_STAFF_ONLY setting **2.1.1** Correct Python version requirement in documentation to Python 3.6 diff --git a/todo/__init__.py b/todo/__init__.py index 33eaf46..cfae594 100644 --- a/todo/__init__.py +++ b/todo/__init__.py @@ -1,7 +1,7 @@ """ A multi-user, multi-group task management and assignment system for Django. """ -__version__ = '2.2.0' +__version__ = '2.2.1' __author__ = 'Scot Hacker' __email__ = 'shacker@birdhouse.org' diff --git a/todo/templates/todo/list_detail.html b/todo/templates/todo/list_detail.html index 3edc7ad..c699d1c 100644 --- a/todo/templates/todo/list_detail.html +++ b/todo/templates/todo/list_detail.html @@ -52,14 +52,17 @@ {% if task.assigned_to %}{{ task.assigned_to }}{% else %}Anyone{% endif %} - +
+ {% csrf_token %} + +
+ {% endfor %} diff --git a/todo/templates/todo/task_detail.html b/todo/templates/todo/task_detail.html index 067d7ae..eddb130 100644 --- a/todo/templates/todo/task_detail.html +++ b/todo/templates/todo/task_detail.html @@ -12,21 +12,40 @@
-