parent
e15bde964f
commit
7368f317ad
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue