Update changelog
This commit is contained in:
parent
148ca6a257
commit
485997d2d8
|
@ -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`
|
||||
|
|
30
README.rst
30
README.rst
|
@ -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',
|
||||
...
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue