Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin : Corriger l'affichage de la période de grâce quand c'est vide et utilisation de .get_empty_value_display() partout #4497

Merged
merged 3 commits into from
Aug 5, 2024

Conversation

rsebille
Copy link
Contributor

@rsebille rsebille commented Aug 1, 2024

🤔 Pourquoi ?

Car comme d'hab je me suis fait avoir dans #4494 parce que Django ne réécrit pas les None dans les @admin.display()
image

Et vu que je me suis demandé si il n'y avais pas une constante pour le "-" j'en profite pour changer partout avec la fonction de Django qui va bien :).

@rsebille rsebille added the no-changelog Ne doit pas figurer dans le journal des changements. label Aug 1, 2024
@rsebille rsebille requested a review from xavfernandez August 1, 2024 15:03
@rsebille rsebille self-assigned this Aug 1, 2024
@rsebille rsebille force-pushed the rsebille/fix-empty-value-display branch from 807af31 to 36ad4c3 Compare August 1, 2024 15:14
@rsebille rsebille added this pull request to the merge queue Aug 5, 2024
Merged via the queue into master with commit 85b7871 Aug 5, 2024
11 checks passed
@rsebille rsebille deleted the rsebille/fix-empty-value-display branch August 5, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Ne doit pas figurer dans le journal des changements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants