This is similar to use_read_replica_if_available(), but it just returns either 'read_replica' or 'default', for use with the Django ORM using() method. Syntactically, it fits nicer with queryset method-call chains.
common ------ This directory contains common code shared between LMS and CMS, such as Mako templates, CSS, and Coffescript.