Like?TemplateNotFound?but raised if multiple templates are selected. This is a subclass of?TemplateNotFound?exception, so just catching the base exception will catch both.
Like a template syntax error, but covers cases where something in the template caused an error at compile time that wasn’t necessarily caused by a syntax error. However it’s a direct subclass of?TemplateSyntaxError?and has the same attributes.
更多建議: