Support validating Django templates by compiling them