-
Notifications
You must be signed in to change notification settings - Fork 14
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
Affichage des infos utiles dans l'admin habilitation #576
Conversation
) | ||
readonly_fields = ("issuer_id",) | ||
inlines = (OrganisationRequestInline,) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Franchement, pouvoir faire des interfaces aussi complètes et fonctionnelles juste en déclarant des classes et des attributs… c'est ❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Django ❤️
inline_type = "stacked" | ||
inline_reverse = ( | ||
"manager", | ||
"data_privacy_officer", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Là c'est le mode de déclaration des Inline pour le module reverse-admin
. Ça m'embête que ça n'ait pas la même jolie tête que les inlines standards, mais ça marche (j'ai testé en lecture et en écriture). Donc tant pis.
@@ -10,6 +10,7 @@ django-referrer-policy==1.0 | |||
django-tabbed-admin==1.0.4 | |||
django-import-export==2.7.1 | |||
django-debug-toolbar==3.2.4 | |||
django-reverse-admin==2.9.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tiens je connaissais pas cette librairie !
🌮 Objectif
Améliorer l'interface d'administration :
🔍 Implémentation
🖼️ Images
Dans l'accueil de l'admin, on ne liste toujours que les demandes et les demandeurs, rien d'autre :
Page d'un demandeur, qui liste ses demandes :
Page d'une demande, qui contient plein d'infos :