Opened 16 years ago
Closed 13 years ago
#9119 closed New feature (fixed)
[patch] Admin change list does not allow custom get parameters
Reported by: | fas | Owned by: | fas |
---|---|---|---|
Component: | contrib.admin | Version: | 1.0 |
Severity: | Normal | Keywords: | admin, query, get, parameter, filter |
Cc: | Triage Stage: | Design decision needed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In customizing the admin list behaviour, one is restricted to not using any GET parameters as all of them are passed to the queryset filter method as field lookups. Custom get parameters would be necessary, for example, to add custom filters with are not based on model fields lookups.
Attachments (1)
Change History (7)
comment:1 by , 16 years ago
Status: | new → assigned |
---|
by , 16 years ago
Attachment: | ignore_non_field_params_against_9066.diff added |
---|
comment:2 by , 16 years ago
Needs tests: | set |
---|
comment:4 by , 16 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
comment:5 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → New feature |
comment:6 by , 13 years ago
Easy pickings: | unset |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
UI/UX: | unset |
This was essentially fixed with the introduction of custom list filters in r16144.
Note:
See TracTickets
for help on using tickets.
Only use field lookup parameters to filter the results, ignore others.