On 5/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Rather than going to every function I am displaying items ( 99% of the
> time I'm using .filter then some filter ), is there a way to tell it
> in the model to always append delete_flag=0 to any of the .filter
> parameters I am passing in, so that only non logically deleted items
> are returned?

http://www.djangoproject.com/documentation/model-api/#modifying-initial-manager-querysets

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to