Releases: occipital/django-content-settings
Releases · occipital/django-content-settings
0.13.1
0.13
CONTENT_SETTINGS_TAGS
refactoring, the function accepts additional argument name"content_settings.tags.app_name"
- autogenerate tag with the app name- new validators
gen_call_validator
,gen_args_call_validator
andgen_kwargs_call_validator
- AttributeError when you trying to use an uknown setting name
0.12
0.11.4 - conf.settings
- new attributes
on_change
andon_change_commited
- pass user object in the preview
from content_settings.conf import settings
0.11 - Preview on Site
Add preview on site middleware to be able to see the changes live, before applying those for all users.
0.10.1
0.10 - AdminPreviewActionsMixin
SplitByFirstLine
is now inEachMixin
SplitByFirstLine.split_type
can be a dict with key:cs_typeAdminPreviewActionsMixin
- new attribute
validators_raw
0.9 - Django Admin Panel
- Fixing a lot of bugs with admin of content settings. Such as preivew, search, tags filters and cetera
- fixing dynamic work with local changes in content settings
- fix help text for user defined types
- if variable constant or removed from code - admin is not allowed to see it in django admin
- new type
DjangoModelTemplateHTML
- fix issue with \r\n in tags field for user defined types
- remove attribute
empty_is_none
, we haveEmptyNoneMixin
mixin instead validators
can be tuple and list nowEachMixin
now works only with expected types.- new class for
EachMixin
-each.Values
- convers all values in the dict - fixing bugs with lazy object
- for
CallToPythonMixin
,preview_validators
andadmin_preview_call
are removed. Now, all of the validators, that are instance ofcall_validator
will be shows in preview and settings call will be always shown if more than one validators are for preview - the change above requires massive refactoring for preview of template/call types
- if
SimpleCallTemplate
doesn't have a required arguments and doesn't have validators - the system uses one validatorcall_validator()
DjangoTemplateHTML(HTMLMixin, DjangoTemplate)
->DjangoTemplateHTML(HTMLMixin, DjangoTemplateNoArgs)
-
SplitByFirstLine.split_key_validator_failed
- fix preview for
each.Keys
0.8 - EachMixin and HTMLMixin
EachMixin
HTMLMixin
andDjangoTemplateHTML
- showing type name(s) in admin panel
- migrate can also show "adjust" in case of changing tags or/and help
- yet another admin preview function refactoring.
- fix quoting in text/python preview
0.7.1 - help format
- Default preview for Exec and Eval is Python
- SimpleBool more possible input options
- help_format for SplitTranslation
- test covarage: 95%