Django-content-settings

Latest version: v0.29.2

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

Scan your dependencies

Page 3 of 8

0.20

0.19

* Import/Export UI in Django Admin. [Read more in UI](ui.mdimport-export)
* Import/Export commands. [Read more in Commands](commands.md)
* Mechanism of reverting update from hisotry and seeing the update batch
* `context_managers.content_settings_context` now works with user defifined types
* previewed content settings doesn't work for urls from Django Admin content settings. To prevent validation issues
* migration that extends the history with user defined type attributes, such as tags and help
* you can do a preview for user defined types, you can do a preview of creation of new user defined type
* names of the URLS has "content_settings" prefix
* fix bug with assign only attributes (not methods)
* defaults takes type arguments into account - you can now extend `yeses` and `noes` into `CONTENT_SETTINGS_DEFAULTS`

0.18.2

* `SimpleFunc` a very basic template type.
* new `CallToPythonMixin` attributes `call_func_argument_name` and `call_prepare_func`
* More in [Types](types.mdtemplates-content_settingstypestemplate-source)

0.18.1

* setting `CONTENT_SETTINGS_PREVIEW_ON_SITE_SHOW = False` hides preview on site functionality
* fix some bugs

0.18

* attributes that accept function can also accept string as name of the function. `fetch_permission="staff"` or `fetch_permission="content_settings.permissions.staff"`
* `FetchAllSettingsView.as_view()` - new view for getting all avaliable settings in the system
* `FetchAllSettingsView.as_view(names=gen_all())` - works in the same way
* py objects validation at the time when the project is started.
* `CONTENT_SETTINGS_CHAIN_VALIDATE` - new django setting, by default True. Every time you change the variable it not only test the variable you've changed, but also all other variables to make sure your changes doesn't break other variables.
* [article](ui.md) about Admin User interface with the link in the interface.
* simplify `json_view_value` for simple values, to speed up the API

0.17

* new attributes for css and js
* `admin_head_css: Tuple[str] = ()`
* `admin_head_js: Tuple[str] = ()`
* `admin_head_css_raw: Tuple[str] = ()`
* `admin_head_js_raw: Tuple[str] = ()`
* new `defaults.modifiers`
* `update_widget_attrs`
* `add_widget_class`
* `add_admin_head`
* `defaults.collections` - allows you to add [CodeMirror 5](https://codemirror.net/5/) support

Page 3 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.