mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #22369 -- Added count parameter to assertTemplateUsed
This commit is contained in:
committed by
Simon Charette
parent
09af48c70f
commit
17c1884456
@@ -154,7 +154,9 @@ Requests and Responses
|
||||
Tests
|
||||
^^^^^
|
||||
|
||||
* ...
|
||||
* The ``count`` argument was added to
|
||||
:meth:`~django.test.SimpleTestCase.assertTemplateUsed`. This allows you to
|
||||
assert that a template was rendered a specific number of times.
|
||||
|
||||
Validators
|
||||
^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user