Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #14391 - Updated django-admin.1 man page to include newer comma…

…nds. Thanks to laurentluce for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 941318fcee26cd2965e76191afd670c2bdd7fe82 1 parent fc4ed4f
Andrew Godwin authored October 10, 2010

Showing 1 changed file with 38 additions and 4 deletions. Show diff stats Hide diff stats

  1. 42  docs/man/django-admin.1
42  docs/man/django-admin.1
@@ -27,6 +27,9 @@ Compiles .po files to .mo files for use with builtin gettext support.
27 27
 .BI "createcachetable [" "tablename" "]"
28 28
 Creates the table needed to use the SQL cache backend
29 29
 .TP
  30
+.BI "createsuperuser [" "\-\-username=USERNAME" "] [" "\-\-email=EMAIL" "]"
  31
+Creates a superuser account (a user who has all permissions).
  32
+.TP
30 33
 .B dbshell
31 34
 Runs the command\-line client for the specified
32 35
 .BI database ENGINE.
@@ -37,10 +40,21 @@ Displays differences between the current
37 40
 and Django's default settings. Settings that don't appear in the defaults are
38 41
 followed by "###".
39 42
 .TP
  43
+.BI "dumpdata [" "\-\-all" "] [" "\-\-format=FMT" "] [" "\-\-indent=NUM" "] [" "\-\-natural=NATURAL" "] [" "appname appname appname.Model ..." "]"
  44
+Outputs to standard output all data in the database associated with the named
  45
+application(s).
  46
+.TP
  47
+.BI flush
  48
+Returns the database to the state it was in immediately after syncdb was
  49
+executed.
  50
+.TP
40 51
 .B inspectdb
41 52
 Introspects the database tables in the database specified in settings.py and outputs a Django
42 53
 model module.
43 54
 .TP
  55
+.BI "loaddata [" "fixture fixture ..." "]"
  56
+Searches for and loads the contents of the named fixture into the database.
  57
+.TP
44 58
 .BI "install [" "appname ..." "]"
45 59
 Executes
46 60
 .B sqlall
@@ -81,6 +95,13 @@ given model module name(s).
81 95
 .BI "sqlclear [" "appname ..." "]"
82 96
 Prints the DROP TABLE SQL statements for the given app name(s).
83 97
 .TP
  98
+.BI "sqlcustom [" "appname ..." "]"
  99
+Prints the custom SQL statements for the given app name(s).
  100
+.TP
  101
+.BI "sqlflush [" "appname ..." "]"
  102
+Prints the SQL statements that would be executed for the "flush" 
  103
+command.
  104
+.TP
84 105
 .BI "sqlindexes [" "appname ..." "]"
85 106
 Prints the CREATE INDEX SQL statements for the given model module name(s).
86 107
 .TP
@@ -107,7 +128,11 @@ in the current directory.
107 128
 Creates the database tables for all apps in INSTALLED_APPS whose tables
108 129
 haven't already been created.
109 130
 .TP
110  
-.BI "test [" "\-\-verbosity" "] [" "appname ..." "]"
  131
+.BI "test [" "\-\-verbosity" "] [" "\-\-failfast" "] [" "appname ..." "]"
  132
+Runs the test suite for the specified applications, or the entire project if
  133
+no apps are specified
  134
+.TP
  135
+.BI "testserver [" "\-\-addrport=ipaddr|port" "] [" "fixture fixture ..." "]"
111 136
 Runs the test suite for the specified applications, or the entire project if
112 137
 no apps are specified
113 138
 .TP
@@ -145,6 +170,11 @@ Verbosity level: 0=minimal output, 1=normal output, 2=all output.
145 170
 .I \-\-adminmedia=ADMIN_MEDIA_PATH
146 171
 Specifies the directory from which to serve admin media when using the development server.
147 172
 .TP
  173
+.I \-\-traceback
  174
+By default, django-admin.py will show a simple error message whenever an
  175
+error occurs. If you specify this option, django-admin.py  will
  176
+output a full stack trace whenever an exception is raised.
  177
+.TP
148 178
 .I \-l, \-\-locale=LOCALE
149 179
 The locale to process when using makemessages or compilemessages.
150 180
 .TP
@@ -155,15 +185,15 @@ The domain of the message files (default: "django") when using makemessages.
155 185
 The file extension(s) to examine (default: ".html", separate multiple
156 186
 extensions with commas, or use -e multiple times).
157 187
 .TP
158  
-.I \-e, \-\-symlinks
  188
+.I \-s, \-\-symlinks
159 189
 Follows symlinks to directories when examining source code and templates for
160 190
 translation strings.
161 191
 .TP
162  
-.I \-e, \-\-ignore=PATTERN
  192
+.I \-i, \-\-ignore=PATTERN
163 193
 Ignore files or directories matching this glob-style pattern. Use multiple
164 194
 times to ignore more.
165 195
 .TP
166  
-.I \-e, \-\-no\-default\-ignore
  196
+.I \-\-no\-default\-ignore
167 197
 Don't ignore the common private glob-style patterns 'CVS', '.*' and '*~'.
168 198
 .TP
169 199
 .I \-a, \-\-all
@@ -174,6 +204,10 @@ In the absence of the
174 204
 .BI \-\-settings
175 205
 option, this environment variable defines the settings module to be read.
176 206
 It should be in Python-import form, e.g. "myproject.settings".
  207
+.I \-\-database=DB
  208
+Used to specify the database on which a command will operate. If not
  209
+specified, this option will default to an alias of "default".
  210
+.TP
177 211
 
178 212
 .SH "SEE ALSO"
179 213
 Full descriptions of all these options, with examples, as well as documentation

0 notes on commit 941318f

Please sign in to comment.
Something went wrong with that request. Please try again.