Opened 16 years ago

Last modified 13 years ago

#8101 closed

Admin boolean filter — at Version 5

Reported by: Alexander Owned by: nobody
Component: contrib.admin Version: dev
Severity: Keywords: bool filter string
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description (last modified by Gary Wilson)

Checked out revision 8204:

Filter for BooleanField not work...
Checked /admin/auth/user/?is_staff__exact=0
This is equals /admin/auth/user/?is_staff__exact=1

Also User.objects.filter(is_staff__exact='0') is bad result.

Please, Anybody fixed this bug in BooleanField().get_db_prep_value()

Change History (7)

by Alexander, 16 years ago

Attachment: bool.diff added

patch

comment:1 by Brian Rosner, 16 years ago

milestone: 1.0 beta1.0

comment:2 by Brian Rosner, 16 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Brian Rosner, 16 years ago

Needs tests: set
Patch needs improvement: set

by Brian Rosner, 16 years ago

comment:4 by magneto, 16 years ago

this relates to #8062 where all the filter args are now casted

comment:5 by Gary Wilson, 16 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top