Projet

Général

Profil

Bug #6518

1.7: appconfig.label should be a valid Python identifier

Ajouté par Frédéric Péters il y a environ 9 ans. Mis à jour il y a environ 9 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
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

Révision ab50dcee (diff)
Ajouté par Benjamin Dauvergne il y a environ 9 ans

Use a valid python identifier for lable of SAML 2.0 IdP AppConfig (#6518)

Historique

#2

Mis à jour par Thomas Noël il y a environ 9 ans

ack

#3

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)

#4

Mis à jour par Benjamin Dauvergne il y a environ 9 ans

  • Version cible mis à 2.1.12
#5

Mis à jour par Benjamin Dauvergne il y a environ 9 ans

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF