diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-28 09:53:02 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-12-28 09:53:02 +0100 |
| commit | c81fae6b9588ab9ef1edd7309c00e72a87154bc1 (patch) | |
| tree | c8674ce1fdeebb3bf88337289221e719362672b0 /docs/man | |
| parent | a7add2f2965dac3c2f63b1459c8bde725250c977 (diff) | |
Used app_label instead of appname.
The last component of the dotted path to the application module is
consistently referenced as the application "label". For instance it's
AppConfig.label. appname could be confused with AppConfig.name, which is
the full dotted path.
Diffstat (limited to 'docs/man')
| -rw-r--r-- | docs/man/django-admin.1 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/man/django-admin.1 b/docs/man/django-admin.1 index c72c3520b5..c9932ac36f 100644 --- a/docs/man/django-admin.1 +++ b/docs/man/django-admin.1 @@ -40,7 +40,7 @@ Displays differences between the current and Django's default settings. Settings that don't appear in the defaults are followed by "###". .TP -.BI "dumpdata [" "\-\-all" "] [" "\-\-format=FMT" "] [" "\-\-indent=NUM" "] [" "\-\-natural=NATURAL" "] [" "appname appname appname.Model ..." "]" +.BI "dumpdata [" "\-\-all" "] [" "\-\-format=FMT" "] [" "\-\-indent=NUM" "] [" "\-\-natural=NATURAL" "] [" "app_label app_label app_label.Model ..." "]" Outputs to standard output all data in the database associated with the named application(s). .TP @@ -54,7 +54,7 @@ model module. .BI "loaddata [" "fixture fixture ..." "]" Searches for and loads the contents of the named fixture into the database. .TP -.BI "install [" "appname ..." "]" +.BI "install [" "app_label ..." "]" Executes .B sqlall for the given app(s) in the current database. @@ -79,33 +79,33 @@ The option forces the use of the standard Python interpreter even when IPython is installed. .TP -.BI "sql [" "appname ..." "]" +.BI "sql [" "app_label ..." "]" Prints the CREATE TABLE SQL statements for the given app name(s). .TP -.BI "sqlall [" "appname ..." "]" +.BI "sqlall [" "app_label ..." "]" Prints the CREATE TABLE, initial\-data and CREATE INDEX SQL statements for the given model module name(s). .TP -.BI "sqlclear [" "appname ..." "]" +.BI "sqlclear [" "app_label ..." "]" Prints the DROP TABLE SQL statements for the given app name(s). .TP -.BI "sqlcustom [" "appname ..." "]" +.BI "sqlcustom [" "app_label ..." "]" Prints the custom SQL statements for the given app name(s). .TP -.BI "sqlflush [" "appname ..." "]" +.BI "sqlflush [" "app_label ..." "]" Prints the SQL statements that would be executed for the "flush" command. .TP -.BI "sqlindexes [" "appname ..." "]" +.BI "sqlindexes [" "app_label ..." "]" Prints the CREATE INDEX SQL statements for the given model module name(s). .TP -.BI "sqlinitialdata [" "appname ..." "]" +.BI "sqlinitialdata [" "app_label ..." "]" Prints the initial INSERT SQL statements for the given app name(s). .TP -.BI "sqlsequencereset [" "appname ..." "]" +.BI "sqlsequencereset [" "app_label ..." "]" Prints the SQL statements for resetting PostgreSQL sequences for the given app name(s). .TP -.BI "startapp [" "\-\-template=PATH_OR_URL" "] [" "\-\-extension=EXTENSION" "] [" "\-\-name=FILENAME" "] [" "appname" "] [" "destination" "]" +.BI "startapp [" "\-\-template=PATH_OR_URL" "] [" "\-\-extension=EXTENSION" "] [" "\-\-name=FILENAME" "] [" "app_label" "] [" "destination" "]" Creates a Django app directory structure for the given app name in the current directory or the optional destination. .TP @@ -117,7 +117,7 @@ in the current directory or the optional destination. Runs migrations for apps containing migrations, and just creates missing tables for apps without migrations. .TP -.BI "test [" "\-\-verbosity" "] [" "\-\-failfast" "] [" "appname ..." "]" +.BI "test [" "\-\-verbosity" "] [" "\-\-failfast" "] [" "app_label ..." "]" Runs the test suite for the specified applications, or the entire project if no apps are specified .TP |
