Thomas Guettler wrote:
> Hi,
> 
> 
> For forms which display a list of results I use:
>     form=QueryForm(request.GET)
>     ....
>     queryset=MyModel.objects.filter(**form.cleaned_data)
> 
> But, now I need to use exclude() instead of filter().
 >
> 
> I looked at the queryset API, but it seems that there is no
> alternative to qs.exclude().

What's wrong with exclude() as it is now?

-- 
Christian Joergensen
http://www.technobabble.dk

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

Reply via email to