summaryrefslogtreecommitdiff
path: root/docs/ref/django-admin.txt
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2023-06-14 19:22:48 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-08-31 07:14:58 +0200
commit74b5074174d1749ee44df2f7ed418010a7a4ac70 (patch)
treea533ff3b0e3db36baa991081d012d4554acbef28 /docs/ref/django-admin.txt
parent27b399d23531541d091886f683991e321c8fa314 (diff)
Fixed #34210 -- Added unittest's durations option to the test runner.
Diffstat (limited to 'docs/ref/django-admin.txt')
-rw-r--r--docs/ref/django-admin.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index cc448055f4..c3349f364b 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1559,6 +1559,16 @@ tests, which allows it to print a traceback if the interpreter crashes. Pass
Outputs timings, including database setup and total run time.
+.. django-admin-option:: --durations N
+
+.. versionadded:: 5.0
+
+Shows the N slowest test cases (N=0 for all).
+
+.. admonition:: Python 3.12 and later
+
+ This feature is only available for Python 3.12 and later.
+
``testserver``
--------------