#20088: Django admin log depends on User model having a field named id
---------------------------------------------+-----------------------------
Reporter: Ryan Leckey <leckey.ryan@…> | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | configurable,user,model
Easy pickings: 0 | Has patch: 0
| UI/UX: 0
---------------------------------------------+-----------------------------
See
https://github.com/django/django/blob/master/django/contrib/admin/templatetags/log.py#L20
Either we need to document that a User's pk must be named id and be
integral or refactor the code linked above to not depend on it.
--
Ticket URL: <https://code.djangoproject.com/ticket/20088>
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.