diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 8316cbb7e4..bd7c56d83a 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -501,14 +501,22 @@ If this option is provided, models are also created for database views. ``listurls`` ------------ -.. django-admin:: listurls [url_prefix ...] +.. django-admin:: listurls -Displays a list of the URLs and their associated short names and views in the -project. Optionally restrict to one or more prefixes. +List URL patterns in the project with optional filtering by prefixes. -.. django-admin-option:: --table +.. django-admin-option:: --unsorted -Output the list of URLs as a table, one URL per line. +Lists URLs with the original ordering, same order as found in url patterns. + +.. django-admin-option:: --prefix [prefix ...] + +Filters URLs by given prefixes. + +.. django-admin-option:: --format {aligned,table,verbose,json,pretty-json} + +Specifies the output format. Available values are ``aligned``, ``table``, +``verbose``, ``json``, and ``pretty-json``. Default is ``aligned``. ``loaddata`` ------------