Bug #6518
1.7: appconfig.label should be a valid Python identifier
Début:
16 février 2015
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
AppConfig.label
Short name for the application, e.g. 'admin'This attribute allows relabeling an application when two applications have conflicting labels. It defaults to the last component of name. It should be a valid Python identifier.
class SAML2IdPConfig(AppConfig): name = 'authentic2.idp.saml' label = 'SAML IdP'
I'd suggest replacing 'SAML IdP' by 'saml_idp'.
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Fichier 0001-Use-a-valid-python-identifier-for-lable-of-SAML-2.0-.patch 0001-Use-a-valid-python-identifier-for-lable-of-SAML-2.0-.patch ajouté
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Statut changé de Nouveau à Solution déployée
commit ab50dcee8ba133c13c75128df2abd34dd792b838 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Fri Mar 6 15:06:23 2015 +0100 Use a valid python identifier for lable of SAML 2.0 IdP AppConfig (#6518)
Mis à jour par Benjamin Dauvergne il y a environ 9 ans
- Statut changé de Solution déployée à Fermé
Use a valid python identifier for lable of SAML 2.0 IdP AppConfig (#6518)