Malcolm has been building up to this for a couple of days, and it’s really worth reading the entire progression:
Custom managers are another of those great relatively-untapped features of Django that really make life a whole lot easier — I use a couple of them on this site to help save keystrokes on certain common database operations, for example. There’s a little bit of official documentation on them, but they’re a relatively new concept (having recently been merged in from a long-running development branch) and it’s great to see a concrete example of what they can do.
Comments for this link are closed. If you'd like to share your thoughts on this link with me, please contact me directly.