Re: [Django] #12105: Admin querystring __isnull=False filter doesn't work

2010-03-05 Thread Django
#12105: Admin querystring __isnull=False filter doesn't work
---+
  Reporter:  marcob| Owner:  gabrielhurley
Status:  assigned  | Milestone:  1.2  
 Component:  django.contrib.admin  |   Version:  1.1  
Resolution:|  Keywords:  isnull filter
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by gabrielhurley):

  * owner:  => gabrielhurley
  * status:  new => assigned

Comment:

 Travis' patch looks good to me... seems like this one's in the bag. If
 anyone spots anything else about it I'll wrap it up.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #12105: Admin querystring __isnull=False filter doesn't work

2009-12-14 Thread Django
#12105: Admin querystring __isnull=False filter doesn't work
---+
  Reporter:  marcob| Owner:   
Status:  new   | Milestone:  1.2  
 Component:  django.contrib.admin  |   Version:  1.1  
Resolution:|  Keywords:  isnull filter
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by mikepenn):

  * needs_better_patch:  1 => 0
  * needs_tests:  1 => 0

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #12105: Admin querystring __isnull=False filter doesn't work

2009-12-13 Thread Django
#12105: Admin querystring __isnull=False filter doesn't work
---+
  Reporter:  marcob| Owner:  mikepenn 
Status:  new   | Milestone:  1.2  
 Component:  django.contrib.admin  |   Version:  1.1  
Resolution:|  Keywords:  isnull filter
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by Travis Cline ):

  * needs_better_patch:  1 => 0
  * needs_tests:  1 => 0

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #12105: Admin querystring __isnull=False filter doesn't work

2009-12-12 Thread Django
#12105: Admin querystring __isnull=False filter doesn't work
---+
  Reporter:  marcob| Owner:  mikepenn 
Status:  new   | Milestone:  1.2  
 Component:  django.contrib.admin  |   Version:  1.1  
Resolution:|  Keywords:  isnull filter
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  1
Needs_better_patch:  1 |  
---+
Changes (by mikepenn):

  * owner:  nobody => mikepenn

Comment:

 Replying to [ticket:12105 marcob]:
 > If I use {{{ __isnull=False }}} with an admin querystring filter I
 always get a IS NULL query.
 > Try with:
 > {{{
 >http://127.0.0.1:8000/admin/auth/user/?email__isnull=False
 >
 >http://127.0.0.1:8000/admin/auth/user/?email__isnull=True
 > }}}
 > You'll get same results.
 > I fixed with a tiny patch (attached):
 > {{{
 > elif key.endswith('__isnull'):
 > value = False if value.lower() == 'false' else Tru
 > }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

--

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.




Re: [Django] #12105: Admin querystring __isnull=False filter doesn't work

2009-10-30 Thread Django
#12105: Admin querystring __isnull=False filter doesn't work
---+
  Reporter:  marcob| Owner:  nobody   
Status:  new   | Milestone:  1.2  
 Component:  django.contrib.admin  |   Version:  1.1  
Resolution:|  Keywords:  isnull filter
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  1
Needs_better_patch:  1 |  
---+
Comment (by marcob):

 Better patch. It doesn't use inline and it keep working a previous
 workaround  ( __isnull= with a null value )
 {{{
 http://127.0.0.1:8000/admin/auth/user/?email__isnull=
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #12105: Admin querystring __isnull=False filter doesn't work

2009-10-28 Thread Django
#12105: Admin querystring __isnull=False filter doesn't work
---+
  Reporter:  marcob| Owner:  nobody   
Status:  new   | Milestone:  1.2  
 Component:  django.contrib.admin  |   Version:  1.1  
Resolution:|  Keywords:  isnull filter
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  1
Needs_better_patch:  1 |  
---+
Changes (by SmileyChris):

  * needs_better_patch:  0 => 1
  * needs_tests:  0 => 1

Comment:

 Inline `if` isn't a feature of Python 2.4

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #12105: Admin querystring __isnull=False filter doesn't work

2009-10-28 Thread Django
#12105: Admin querystring __isnull=False filter doesn't work
---+
  Reporter:  marcob| Owner:  nobody   
Status:  new   | Milestone:  1.2  
 Component:  django.contrib.admin  |   Version:  1.1  
Resolution:|  Keywords:  isnull filter
 Stage:  Accepted  | Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by jacob):

  * stage:  Unreviewed => Accepted
  * milestone:  => 1.2

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---



Re: [Django] #12105: Admin querystring __isnull=False filter doesn't work

2009-10-27 Thread Django
#12105: Admin querystring __isnull=False filter doesn't work
---+
  Reporter:  marcob| Owner:  nobody   
Status:  new   | Milestone:   
 Component:  django.contrib.admin  |   Version:  1.1  
Resolution:|  Keywords:  isnull filter
 Stage:  Unreviewed| Has_patch:  1
Needs_docs:  0 |   Needs_tests:  0
Needs_better_patch:  0 |  
---+
Changes (by Alex):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Old description:

> If I use __isnull=False with an admin querystring filter I always get a
> IS NULL query.
> Try with:
> {{{
>http://127.0.0.1:8000/admin/auth/user/?email__isnull=False
>
>http://127.0.0.1:8000/admin/auth/user/?email__isnull=True
> }}}
> You'll get same results.
> I fixed with a tiny patch (attached):
> {{{
> elif key.endswith('__isnull'):
> value = False if value.lower() == 'false' else Tru
> }}}

New description:

 If I use {{{ __isnull=False }}} with an admin querystring filter I always
 get a IS NULL query.
 Try with:
 {{{
http://127.0.0.1:8000/admin/auth/user/?email__isnull=False

http://127.0.0.1:8000/admin/auth/user/?email__isnull=True
 }}}
 You'll get same results.
 I fixed with a tiny patch (attached):
 {{{
 elif key.endswith('__isnull'):
 value = False if value.lower() == 'false' else Tru
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~--~~~~--~~--~--~---