Skip to content

Commit 5099f31

Browse files
author
Tomasz Rybak
committed
Made changes asked in review by HonzaKral
Add documentation for new command in django-admin.
1 parent d7429de commit 5099f31

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/ref/django-admin.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,16 @@ Note that the order in which the SQL files are processed is undefined.
863863
The :djadminopt:`--database` option can be used to specify the database for
864864
which to print the SQL.
865865

866+
sqldropindexes <appname appname ...>
867+
--------------------------------
868+
869+
.. django-admin:: sqldropindexes
870+
871+
Prints the DROP INDEX SQL statements for the given app name(s).
872+
873+
The :djadminopt:`--database` option can be used to specify the database for
874+
which to print the SQL.
875+
866876
sqlflush
867877
--------
868878

0 commit comments

Comments
 (0)