#35584: Discard user full names from admin log entries
-------------------------------------+-------------------------------------
Reporter: Kamil Paduszyński | Owner: (none)
Type: | Status: closed
Cleanup/optimization |
Component: contrib.admin | Version: 5.0
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):
* cc: Tim Graham, Josh Schneier (added)
* resolution: => wontfix
* status: new => closed
Comment:
Hi Kamil, can you not overwrite `get_full_name` to return `""` (an empty
string, which is False-y and should achieve the same thing as overwriting
the template)?
This feels slightly related to #28089. I think the docs around
[https://docs.djangoproject.com/en/5.0/topics/auth/customizing/#django.contrib.auth.models.CustomUser.get_full_name
CustomUser.get_full_name()] might want an update to add that the default
is a concatenation of the first and last name rather than "If implemented,
this appears alongside the username in an object’s history" (which doesn't
feel 100% accurate).
The request to completely drop `get_full_name` from the admin log entries
would need a wider discussion, as so I will close this as wontfix for now,
please raise this on the [https://forum.djangoproject.com/c/internals/5
Django forum] to gain a consensus that this should be updated. 👍
--
Ticket URL: <https://code.djangoproject.com/ticket/35584#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070190933af89d-14a9ea39-ef36-4fb3-b21b-93a0e7e3318c-000000%40eu-central-1.amazonses.com.