Opened 19 years ago
Closed 19 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)
Change History (3)
by , 19 years ago
| Attachment: | get_admin_log.patch added |
|---|
comment:2 by , 19 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fix for get_admin_log template tag