Code

Ticket #7397: django-admin.diff

File django-admin.diff, 1.7 KB (added by Johann Heller <Johams@…>, 6 years ago)

Patch that better adhears to the diff standard.

Line 
1Index: django/docs/django-admin.txt
2===================================================================
3--- django/docs/django-admin.txt        (revision 7601)
4+++ django/docs/django-admin.txt        (working copy)
5@@ -93,22 +93,6 @@
6 
7 .. _cache documentation: ../cache/
8 
9-dbshell
10--------
11-
12-Runs the command-line client for the database engine specified in your
13-``DATABASE_ENGINE`` setting, with the connection parameters specified in your
14-``DATABASE_USER``, ``DATABASE_PASSWORD``, etc., settings.
15-
16-    * For PostgreSQL, this runs the ``psql`` command-line client.
17-    * For MySQL, this runs the ``mysql`` command-line client.
18-    * For SQLite, this runs the ``sqlite3`` command-line client.
19-
20-This command assumes the programs are on your ``PATH`` so that a simple call to
21-the program name (``psql``, ``mysql``, ``sqlite3``) will find the program in
22-the right place. There's no way to specify the location of the program
23-manually.
24-
25 createsuperuser
26 ---------------
27 
28@@ -134,6 +118,22 @@
29 
30 .. _authentication system: ../authentication/
31 
32+dbshell
33+-------
34+
35+Runs the command-line client for the database engine specified in your
36+``DATABASE_ENGINE`` setting, with the connection parameters specified in your
37+``DATABASE_USER``, ``DATABASE_PASSWORD``, etc., settings.
38+
39+    * For PostgreSQL, this runs the ``psql`` command-line client.
40+    * For MySQL, this runs the ``mysql`` command-line client.
41+    * For SQLite, this runs the ``sqlite3`` command-line client.
42+
43+This command assumes the programs are on your ``PATH`` so that a simple call to
44+the program name (``psql``, ``mysql``, ``sqlite3``) will find the program in
45+the right place. There's no way to specify the location of the program
46+manually.
47+
48 diffsettings
49 ------------
50