djangosnippets.org: Latest snippets posted by isagalaevhttp://djangosnippets.org/users/isagalaev/2008-01-22T15:55:55.663896-06:00isagalaevCached lookup model mixin
2008-01-22T15:55:55.663896-06:00isagalaevhttp://djangosnippets.org/snippets/560/<p>This mixin is intended for small lookup-style models that contain mostly static data and referenced by foreign keys from many other places. A good example is a list of Payment options in an e-shop that is referenced from Orders and is hitting database <code>order.payment</code> at least one time for an …</p>
Freely redistributable