mirror of
https://github.com/django/django.git
synced 2025-03-28 18:20:49 +00:00
Explicitly checking for django.template.Template subclasses is preferrable to duck-typing because both the django.template.Template and django.template.backends.django.Template have a render() method. Thanks spectras for the report. Backport of 47ee7b48 from master