Django template loader for database stored templates with extensible cache backend