Opened 9 years ago

Closed 9 years ago

#4200 closed (fixed)

get_admin_log template tag returns nothing if no user is specified

Reported by: Bryan Chow <bryan at verdjn dot com> Owned by: adrian
Component: contrib.admin Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The get_admin_log template tag defined in django.contrib.admin returns nothing if no user is specified. Although there are currently no cases in admin where this tag is called without specifying a user, the usage comments for the template tag indicate that this should be supported, and this would be useful for other apps using the tag.

Patch is attached.

Attachments (1)

get_admin_log.patch (809 bytes) - added by anonymous 9 years ago.
Fix for get_admin_log template tag

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by anonymous

Fix for get_admin_log template tag

comment:1 Changed 9 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

Thanks Bryan

comment:2 Changed 9 years ago by mtredinnick

  • Resolution set to fixed
  • Status changed from new to closed

(In [5170]) Fixed #4200 -- Made get_admin_log template tag behave according to its
docstring (user specifier is optional). Thanks, Bryan Chow.

Note: See TracTickets for help on using tickets.
Back to Top