settings: define form rendrer allowing widgets templates override (#54675)
This commit is contained in:
parent
e4504ac358
commit
5a02e20860
|
@ -153,6 +153,7 @@ INSTALLED_APPS = (
|
||||||
'xstatic.pkg.jquery',
|
'xstatic.pkg.jquery',
|
||||||
'xstatic.pkg.jquery_ui',
|
'xstatic.pkg.jquery_ui',
|
||||||
'xstatic.pkg.select2',
|
'xstatic.pkg.select2',
|
||||||
|
'django.forms',
|
||||||
)
|
)
|
||||||
|
|
||||||
INSTALLED_APPS = tuple(plugins.register_plugins_installed_apps(INSTALLED_APPS))
|
INSTALLED_APPS = tuple(plugins.register_plugins_installed_apps(INSTALLED_APPS))
|
||||||
|
@ -351,6 +352,8 @@ DJANGO_RBAC_PERMISSIONS_HIERARCHY = {
|
||||||
'manage_authorizations': ['view', 'search'],
|
'manage_authorizations': ['view', 'search'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'
|
||||||
|
|
||||||
SILENCED_SYSTEM_CHECKS = ["auth.W004"]
|
SILENCED_SYSTEM_CHECKS = ["auth.W004"]
|
||||||
|
|
||||||
# Get select2 from local copy.
|
# Get select2 from local copy.
|
||||||
|
|
Loading…
Reference in New Issue