Ticket #14391: django_admin_man.diff

File django_admin_man.diff, 3.8 KB (added by laurentluce, 5 years ago)

update django-admin man page to match django-admin.txt

  • docs/man/django-admin.1

     
    2727.BI "createcachetable [" "tablename" "]"
    2828Creates the table needed to use the SQL cache backend
    2929.TP
     30.BI "createsuperuser [" "\-\-username=USERNAME" "] [" "\-\-email=EMAIL" "]"
     31Creates a superuser account (a user who has all permissions).
     32.TP
    3033.B dbshell
    3134Runs the command\-line client for the specified
    3235.BI database ENGINE.
     
    3740and Django's default settings. Settings that don't appear in the defaults are
    3841followed by "###".
    3942.TP
     43.BI "dumpdata [" "\-\-all" "] [" "\-\-format=FMT" "] [" "\-\-indent=NUM" "] [" "\-\-natural=NATURAL" "] [" "appname appname appname.Model ..." "]"
     44Outputs to standard output all data in the database associated with the named
     45application(s).
     46.TP
     47.BI flush
     48Returns the database to the state it was in immediately after syncdb was
     49executed.
     50.TP
    4051.B inspectdb
    4152Introspects the database tables in the database specified in settings.py and outputs a Django
    4253model module.
    4354.TP
     55.BI "loaddata [" "fixture fixture ..." "]"
     56Searches for and loads the contents of the named fixture into the database.
     57.TP
    4458.BI "install [" "appname ..." "]"
    4559Executes
    4660.B sqlall
     
    8195.BI "sqlclear [" "appname ..." "]"
    8296Prints the DROP TABLE SQL statements for the given app name(s).
    8397.TP
     98.BI "sqlcustom [" "appname ..." "]"
     99Prints the custom SQL statements for the given app name(s).
     100.TP
     101.BI "sqlflush [" "appname ..." "]"
     102Prints the SQL statements that would be executed for the "flush"
     103command.
     104.TP
    84105.BI "sqlindexes [" "appname ..." "]"
    85106Prints the CREATE INDEX SQL statements for the given model module name(s).
    86107.TP
     
    107128Creates the database tables for all apps in INSTALLED_APPS whose tables
    108129haven't already been created.
    109130.TP
    110 .BI "test [" "\-\-verbosity" "] [" "appname ..." "]"
     131.BI "test [" "\-\-verbosity" "] [" "\-\-failfast" "] [" "appname ..." "]"
    111132Runs the test suite for the specified applications, or the entire project if
    112133no apps are specified
    113134.TP
     135.BI "testserver [" "\-\-addrport=ipaddr|port" "] [" "fixture fixture ..." "]"
     136Runs the test suite for the specified applications, or the entire project if
     137no apps are specified
     138.TP
    114139.BI validate
    115140Validates all installed models.
    116141.SH "OPTIONS"
     
    145170.I \-\-adminmedia=ADMIN_MEDIA_PATH
    146171Specifies the directory from which to serve admin media when using the development server.
    147172.TP
     173.I \-\-traceback
     174By default, django-admin.py will show a simple error message whenever an
     175error occurs. If you specify this option, django-admin.py  will
     176output a full stack trace whenever an exception is raised.
     177.TP
    148178.I \-l, \-\-locale=LOCALE
    149179The locale to process when using makemessages or compilemessages.
    150180.TP
     
    155185The file extension(s) to examine (default: ".html", separate multiple
    156186extensions with commas, or use -e multiple times).
    157187.TP
    158 .I \-e, \-\-symlinks
     188.I \-s, \-\-symlinks
    159189Follows symlinks to directories when examining source code and templates for
    160190translation strings.
    161191.TP
    162 .I \-e, \-\-ignore=PATTERN
     192.I \-i, \-\-ignore=PATTERN
    163193Ignore files or directories matching this glob-style pattern. Use multiple
    164194times to ignore more.
    165195.TP
    166 .I \-e, \-\-no\-default\-ignore
     196.I \-\-no\-default\-ignore
    167197Don't ignore the common private glob-style patterns 'CVS', '.*' and '*~'.
    168198.TP
    169199.I \-a, \-\-all
     
    174204.BI \-\-settings
    175205option, this environment variable defines the settings module to be read.
    176206It should be in Python-import form, e.g. "myproject.settings".
     207.I \-\-database=DB
     208Used to specify the database on which a command will operate. If not
     209specified, this option will default to an alias of "default".
     210.TP
    177211
    178212.SH "SEE ALSO"
    179213Full descriptions of all these options, with examples, as well as documentation
Back to Top