Mizdb-watchlist

Latest version: v1.1.1

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.1.1

- fix Django requirements being too strict (was ">4", should be ">=4.2")

1.1.0

- enable overriding watchlist manager classes via settings
- add `get_object_text` hook to WatchlistViewMixin: use this to dictate the text to be displayed for a watchlist item on
the watchlist overview

1.0.1

- add missing `watchlist_init.js` to admin watchlist template

1.0.0

- get CSRF value from cookie if not using token

- reworked toggle button:
- toggling the toggle button now only toggles `on-watchlist` CSS class
(was also toggling `text-primary` and `text-success`)
- added `watchlist_toggle.css`
- `toggle_button` template tag now accepts `classes` argument for providing own
CSS classes
- toggle button template no longer includes CSS classes
`btn btn-link text-decoration-none` by default

- reworked how watchlist buttons are initialized:
- `watchlist.js` no longer adds click event handlers when the page has been loaded
- `watchlist.js` now exposes several init functions that must be called to
add the click event handlers for their respective
button: `initToggleButton`, `initRemoveButton`, `initRemoveAllButton`, `initButton`
- the exposed functions allow users to add callback functions that will be called
after the response from the server was handled
- added `watchlist_init.js` that initializes all watchlist buttons on a page

0.1.8

- tweak watchlist overview template and CSS
- toggle button template tag and watchlist link template tag now silence
NoReverseMatch exceptions when URL name cannot be reversed

0.1.7

- fix repository URL in pyproject.toml

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.