Opened 6 years ago

Closed 6 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: UI/UX:

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 Changed 6 years ago by russellm

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

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