Update changelog

This commit is contained in:
Dmitriy Sokolov 2019-07-04 09:43:36 +03:00
parent 148ca6a257
commit 485997d2d8
No known key found for this signature in database
GPG Key ID: DE2C98901898AB74
2 changed files with 18 additions and 15 deletions

View File

@ -1,5 +1,8 @@
## [Unreleased]
### Added
- Add csp compliance through django-csp (thanks @jsumnerPhD)
## [0.4.0] - 2019-04-19
### Changed
- Changed name lookup field `{field}__gte` -> `{field}__range__gte`

View File

@ -42,21 +42,6 @@ Example:
)
For Django 1.8+, if django-csp is installed, nonces will be added to style and script tags.
Example:
.. code:: python
INSTALLED_APPS = (
...
'rangefilter',
"csp",
...
)
Example usage
-------------
@ -76,3 +61,18 @@ In admin
list_filter = (
('created_at', DateRangeFilter), ('updated_at', DateTimeRangeFilter),
)
Support Content-Security-Policy
-------------------------------
For Django 1.8+, if [django-csp](https://github.com/mozilla/django-csp) is installed, nonces will be added to style and script tags.
.. code:: python
INSTALLED_APPS = (
...
'rangefilter',
'csp',
...
)