Opened 16 years ago
Closed 16 years ago
#8914 closed (fixed)
FieldError in admin with GET parameters that are no fields on model
Reported by: | Julian Bez | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
How to reproduce:
Browse to a "Select x to change" page in your admin.
Append ?bla=bla
or anything that makes no sense to the URL.
Hit enter, get an error.
Exception Type: FieldError at /admin/.../ Exception Value: Cannot resolve keyword 'bla' into field. Choices are: id, name, slug,...
It's a bit staggering that the keywords go unchecked into the filter for a queryset.
Note:
See TracTickets
for help on using tickets.
#9252 was the same problem and somehow got noticed/fixed first.