Code

Opened 5 years ago

Closed 4 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(',')

Attachments (0)

Change History (1)

comment:1 Changed 4 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.