diff --git a/gestion/admin.py b/gestion/admin.py index 211a3ac..3415279 100644 --- a/gestion/admin.py +++ b/gestion/admin.py @@ -31,6 +31,7 @@ def ProfileInfo(field, short_description, boolean=False): return getter +User.profile_doodlename = ProfileInfo("doodlename", "Nom pour le doodle") User.profile_phone = ProfileInfo("phone", "Telephone") User.profile_instru = ProfileInfo("instru", "Instrument joué") User.profile_is_ern = ProfileInfo("is_ernesto", "Ernestophoniste") @@ -51,6 +52,7 @@ class UserProfileAdmin(UserAdmin): "first_name", "last_name", "email", + "profile_doodlename", "profile_phone", "profile_instru", "profile_is_ern",