mirror of
https://github.com/django/django.git
synced 2025-04-06 14:36:41 +00:00
Update the command explanation in docs
This commit is contained in:
parent
7635bde595
commit
6c5d0484ba
@ -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``
|
||||
------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user