Document incompatibility with CSRF_COOKIE_HTTPONLY

jquery.django-csrf.js relies on `csrftoken` cookie being accessible
through `document.cookie`, so we need to document that or fix it.
master
David D Lowe 2016-01-28 16:26:19 +01:00
parent bb84c6e2c8
commit 6547a478a9
2 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,8 @@ Download django-admin-sortable from [source](https://github.com/iambrandontaylor
## Configuration
1. Add `adminsortable` to your `INSTALLED_APPS`.
2. Ensure `django.core.context_processors.static` is in your `TEMPLATE_CONTEXT_PROCESSORS`.
3. Ensure that `CSRF_COOKIE_HTTPONLY` has not been set to `True`, as
django-admin-sortable is currently incompatible with that setting.
### Static Media

View File

@ -63,6 +63,8 @@ Configuration
1. Add ``adminsortable`` to your ``INSTALLED_APPS``.
2. Ensure ``django.core.context_processors.static`` is in your
``TEMPLATE_CONTEXT_PROCESSORS``.
3. Ensure that ``CSRF_COOKIE_HTTPONLY`` has not been set to ``True``, as
django-admin-sortable is currently incompatible with that setting.
Static Media
~~~~~~~~~~~~