Re: unexpected results for AnyModel.objects.filter(anyfield=None)

2006-04-30 Thread Adrian Holovaty
On 4/28/06, Michael Radziej <[EMAIL PROTECTED]> wrote: > I started to track this down, found that while constructing the sql > clause, None values are deliberately ignored. > > In db.models.query, function parse_lookup() walks through the kwargs and > tests: > > for kwarg, value in kwarg_items

Re: magic-removal merge status

2006-04-30 Thread Ken Kennedy
Adrian Holovaty wrote: > The worst is behind you. :) Joy! *grin* I feel bad about not getting all the way through a clean migration and wikiing the steps, but it's been a long couple of weeks at work and at home! I'll dump some more stuff in today, though, after I clean up some model stuff. The d

Re: magic-removal merge status

2006-04-30 Thread CoolGoose
Great. I can't wait Adrian... Unfortunately I'm new to django so i can't help with anything yet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django

Re: magic-removal merge status

2006-04-30 Thread Adrian Holovaty
On 4/29/06, CoolGoose <[EMAIL PROTECTED]> wrote: > I have a stupid question... The tutorial01 from mr says A public site > that lets people read your blog entries and submit and afther that you > make a pool app. Maybe someone can make the tutorial about a blog from > http://www.rossp.org/ to rm s

Re: Generic object_list with a filter

2006-04-30 Thread Ian Holsman
Hi Ivan. I did something similar to this a while back (based on Hugo's work): http://svn.zilbo.com/svn/django/magic-removal/common/utils/views/filter.py you could expand on that if you would like. regards Ian On 4/30/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote: > > Currently generic view "obje

Generic object_list with a filter

2006-04-30 Thread Ivan Sagalaev
Currently generic view "object_list" can't filter the list by some parameter in an URL. In other words this doesn't work: (r'articles/tags/(?P[a-z]+)/', 'django.views.generic.list_detail.object_list', {'queryset': Article, 'slug_field': 'tags__slug'}) One solution is to use "obj