Opened 18 years ago

Closed 18 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 Holovaty
Component: contrib.admin Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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 18 years ago.
Fix for get_admin_log template tag

Download all attachments as: .zip

Change History (3)

by anonymous, 18 years ago

Attachment: get_admin_log.patch added

Fix for get_admin_log template tag

comment:1 by Chris Beaven, 18 years ago

Triage Stage: UnreviewedReady for checkin

Thanks Bryan

comment:2 by Malcolm Tredinnick, 18 years ago

Resolution: fixed
Status: newclosed

(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