]> git.ipfire.org Git - thirdparty/patchwork.git/commit
admin: Integrate UserProfile fields into admin
authorStephen Finucane <stephen@that.guru>
Sat, 29 Oct 2016 13:18:28 +0000 (14:18 +0100)
committerStephen Finucane <stephen@that.guru>
Sat, 19 Nov 2016 18:32:45 +0000 (18:32 +0000)
commitd5a1bf84e84aa4cb859c873a942593dda7095a7b
treeb73277ea3ed86e661793e79c7a0a803e4a4618b0
parentc21b305256b407036a23539913c041976b33fc66
admin: Integrate UserProfile fields into admin

The 'User' model is extended by means of a 'UserProfile' model. These
fields are not correctly displayed in the admin UI, but they should be.
Let's fix this per the recommendations of the Django docs [1].

[1] https://docs.djangoproject.com/en/1.10/topics/auth/customizing/#extending-the-existing-user-model

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/admin.py