Opened 8 years ago

Closed 8 years ago

#8914 closed (fixed)

FieldError in admin with GET parameters that are no fields on model

Reported by: julianb 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: UI/UX:


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.

Change History (1)

comment:1 Changed 8 years ago by kmtracey

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to fixed
  • Status changed from new to closed

#9252 was the same problem and somehow got noticed/fixed first.

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