Opened 15 years ago

Closed 15 years ago

#11774 closed (invalid)

add __range lookup parameter in django.contrib.admin.views.main.get_query_set

Reported by: anonymous Owned by: nobody
Component: contrib.admin Version: 1.1
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

I think it will be good to add range lookup here too

django.contrib.admin.views.main.get_query_set

Just like this ..

# if key ends with __in or __range, split parameter into separate values
if key.endswith('__in'):
    lookup_params[key] = value.split(',')
if key.endswith('__range'):
    lookup_params[key] = value.split(',')

Change History (1)

comment:1 by Russell Keith-Magee, 15 years ago

Resolution: invalid
Status: newclosed

I can't triage a ticket I don't understand. You need to explain the feature you're trying to add, not just provide a speculative patch.

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