Modify default queryset in django

Posted by juanefren on Stack Overflow See other posts from Stack Overflow or by juanefren
Published on 2010-03-22T17:48:12Z Indexed on 2010/03/22 17:51 UTC
Read the original article Hit count: 211

I have added a 'cancelled' field to my model, is there a way to modify the model default query to something like cancelled=False ? without having to modify all my filter/exclude queries ?

© Stack Overflow or respective owner

Related posts about django

Related posts about python