mirror of
https://github.com/Hopiu/django.git
synced 2026-04-25 01:04:48 +00:00
``get_template_from_string`` default arguments were breaking ``assertTemplateUsed``. The solution has been to return only the names of the templates with a ``name`` attribute distinct of ``None``. The default ``name`` kwarg of ``Template`` has been changed to ``None``, more pythonic than ``'<Unknown Template>'``. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| templates/template_used | ||
| __init__.py | ||
| doctest_output.py | ||
| models.py | ||
| tests.py | ||
| urls.py | ||
| views.py | ||