Projet

Général

Profil

0001-settings-define-form-rendrer-allowing-widgets-templa.patch

Serghei Mihai (congés, retour 15/05), 08 juin 2021 17:48

Télécharger (978 octets)

Voir les différences:

Subject: [PATCH] settings: define form rendrer allowing widgets templates
 override (#54675)

 src/authentic2/settings.py | 3 +++
 1 file changed, 3 insertions(+)
src/authentic2/settings.py
154 154
    'xstatic.pkg.jquery',
155 155
    'xstatic.pkg.jquery_ui',
156 156
    'xstatic.pkg.select2',
157
    'django.forms',
157 158
)
158 159

  
159 160
INSTALLED_APPS = tuple(plugins.register_plugins_installed_apps(INSTALLED_APPS))
......
352 353
    'manage_authorizations': ['view', 'search'],
353 354
}
354 355

  
356
FORM_RENDERER = 'django.forms.renderers.TemplatesSetting'
357

  
355 358
SILENCED_SYSTEM_CHECKS = ["auth.W004"]
356 359

  
357 360
# Get select2 from local copy.
358
-