Ticket #14391: django_admin_man.diff

File django_admin_man.diff, 3.8 KB (added by laurentluce, 8 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
     30.BI "createsuperuser [" "\-\-username=USERNAME" "] [" "\-\-email=EMAIL" "]"
     31Creates a superuser account (a user who has all permissions).
    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 "###".
     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
     47.BI flush
     48Returns the database to the state it was in immediately after syncdb was
    4051.B inspectdb
    4152Introspects the database tables in the database specified in settings.py and outputs a Django
    4253model module.
     55.BI "loaddata [" "fixture fixture ..." "]"
     56Searches for and loads the contents of the named fixture into the database.
    4458.BI "install [" "appname ..." "]"
    4660.B sqlall
    8195.BI "sqlclear [" "appname ..." "]"
    8296Prints the DROP TABLE SQL statements for the given app name(s).
     98.BI "sqlcustom [" "appname ..." "]"
     99Prints the custom SQL statements for the given app name(s).
     101.BI "sqlflush [" "appname ..." "]"
     102Prints the SQL statements that would be executed for the "flush"
    84105.BI "sqlindexes [" "appname ..." "]"
    85106Prints the CREATE INDEX SQL statements for the given model module name(s).
    107128Creates the database tables for all apps in INSTALLED_APPS whose tables
    108129haven't already been created.
    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
     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
    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.
     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.
    148178.I \-l, \-\-locale=LOCALE
    149179The locale to process when using makemessages or compilemessages.
    155185The file extension(s) to examine (default: ".html", separate multiple
    156186extensions with commas, or use -e multiple times).
    158 .I \-e, \-\-symlinks
     188.I \-s, \-\-symlinks
    159189Follows symlinks to directories when examining source code and templates for
    160190translation strings.
    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.
    166 .I \-e, \-\-no\-default\-ignore
     196.I \-\-no\-default\-ignore
    167197Don't ignore the common private glob-style patterns 'CVS', '.*' and '*~'.
    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".
    178212.SH "SEE ALSO"
    179213Full descriptions of all these options, with examples, as well as documentation
Back to Top