From de393db7c404211f55a85ceebe21cbbe7f3eea2e Mon Sep 17 00:00:00 2001 From: Brandon Taylor Date: Thu, 17 Jan 2019 13:34:33 -0500 Subject: [PATCH] Version bump to 2.1.11 Updated README. --- README.md | 4 ++-- README.rst | 8 +++----- adminsortable/__init__.py | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 01332c8..33bcd0d 100644 --- a/README.md +++ b/README.md @@ -606,8 +606,8 @@ ordering on top of that just seemed a little much in my opinion. ### Status django-admin-sortable is currently used in production. -### What's new in 2.1.10? -- Updated admin templates to use the `CSRF_HEADER_NAME` from [settings](https://docs.djangoproject.com/en/2.1/ref/settings/#csrf-header-name) instead of using a hard-coded value. +### What's new in 2.1.11? +- Fixed missing `csrfmiddlewaretoken` in Ajax POST data. This affects Django 2.1.4 and higher. ### Future - Better template support for foreign keys that are self referential. If someone would like to take on rendering recursive sortables, that would be super. diff --git a/README.rst b/README.rst index d7090f7..67e9a88 100644 --- a/README.rst +++ b/README.rst @@ -58,7 +58,7 @@ Download django-admin-sortable from `source `__ 1. Unzip the directory and cd into the uncompressed project directory -2. +2. - Optional: Enable your virtualenv @@ -745,12 +745,10 @@ Status django-admin-sortable is currently used in production. -What’s new in 2.1.10? +What’s new in 2.1.11? ~~~~~~~~~~~~~~~~~~~~~ -- Updated admin templates to use the ``CSRF_HEADER_NAME`` from - `settings `__ - instead of using a hard-coded value. +- Fixed missing `csrfmiddlewaretoken` in Ajax POST data. This affects Django 2.1.4 and higher. Future ~~~~~~ diff --git a/adminsortable/__init__.py b/adminsortable/__init__.py index 81b0584..5a61896 100644 --- a/adminsortable/__init__.py +++ b/adminsortable/__init__.py @@ -1,4 +1,4 @@ -VERSION = (2, 1, 10) +VERSION = (2, 1, 11) DEV_N = None