Patched templates to support Django higher than 1.5