Code

Changes between Initial Version and Version 2 of Ticket #11804


Ignore:
Timestamp:
02/03/10 06:17:58 (4 years ago)
Author:
russellm
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11804

    • Property Cc marcoberi@… added
    • Property Patch needs improvement unset
    • Property Component changed from django-admin.py to django.contrib.admin
    • Property Needs tests set
    • Property Needs documentation unset
    • Property Has patch set
  • Ticket #11804 – Description

    initial v2  
    1 I have a link for my users that open a changelist page with a user__id__isnull=True. That changelist has also a list filter on my users. When a user is chosen, the filter __isnull is not removed. 
     1I have a link for my users that open a changelist page with a user!__id!__isnull=True. That changelist has also a list filter on my users. When a user is chosen, the filter !__isnull is not removed. 
    22I wrote this (working) patch modifying get_query_string function in admin/views/main.py. 
    3 I remove __isnull when __exact is passed (in remove or in new_params) 
     3I remove !__isnull when !__exact is passed (in remove or in new_params)