Re: Chaining custom filter methods

2008-09-17 Thread Ross
I am going to try to connect my Django app to several different databases, so I found this discussion talking about it: http://groups.google.com/group/django-developers/browse_thread/thread/9f0353fe0682b73 The very first post mentions how to define a custom get_query_set function, though it is

Chaining custom filter methods

2008-09-17 Thread intrepidweb
Hi there, I would like to chain a few custom filter methods like so: >>> Model.custom_manager.custom_filter1().custom_filter2() The docs tell us how to override a Manager's base QuerySet by overriding the Manager.get_query_set() method: *

Chaining custom filter methods

2008-09-17 Thread intrepidweb
Hi there, I would like to chain a few different custom filter methods like so: Model.custom_manager.custom_filter1().custom_filter2() The docs tell us how to override a Manager's base QuerySet by overriding the Manager.get_query_set() method: