Skip to content

Fix/typos css#37

Open
FaouziaTek wants to merge 26 commits intoNoethys:mainfrom
GIP-RECIA:fix/typos-css
Open

Fix/typos css#37
FaouziaTek wants to merge 26 commits intoNoethys:mainfrom
GIP-RECIA:fix/typos-css

Conversation

@FaouziaTek
Copy link

This branch addresses and fixes typographical errors and CSS issues, improving overall design consistency and presentation.

Ajout du nombre d'activités associées dans la liste des types de pièces
…ille, fiche individu et menu portail utilisateur
… famille et l'ajout du famille d'individu à la demande d'inscription
…tion ajax pour lister les individus par famille
…tact Facturation et Masqué la section Facturation de portail famille pour les individus qui sont pas contact facturation
class AdresseMail(models.Model):
idadresse = models.AutoField(verbose_name="ID", db_column='IDadresse', primary_key=True)
adresse = encrypt(models.EmailField(verbose_name="Adresse d'envoi", max_length=300, help_text="Saisissez l'adresse mail utilisée."))
adresse = models.EmailField(verbose_name="Adresse d'envoi", max_length=300, help_text="Saisissez l'adresse mail utilisée.")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pour quelle raison retirer encrypt ici ? Cela va probablement empêcher les données existantes d'être lues.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lors de l’envoi d’une notification par e-mail à l’administrateur, j’ai rencontré l’erreur suivante : Unsupported lookup 'exact' for EncryptedEmailField or join on the field not permitted, perhaps you meant exact or iexact?. Après plusieurs tentatives de correction, il s’est avéré que l’utilisation d’un EncryptedEmailField provoquait de nombreux problèmes et bloquait la recherche. La seule solution viable a donc consisté à supprimer l’encryptage de ce champ. 

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oui vous ne pouvez pas utiliser un champ encrypt dans la condition d'une requête. Il faut coder cela autrement. Mais il est impératif de conserver ce champ en l'état car sinon il deviendra inutilisable pour les utilisateurs actuels. Pour conserver la rétrocompatibilité, je vous invite donc à restaurer le encrypt.


def Get_nom(self):
texte = ""
texte = self.nom
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pourquoi mémoriser un texte vide puis le nom ?


def Get_activite(self):
texte = ""
texte = self.activite
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Même question que précédemment : Pourquoi mémoriser un texte vide avant ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants