Ticket #14391: django_admin_man.diff
File django_admin_man.diff, 3.8 KB (added by , 14 years ago) |
---|
-
docs/man/django-admin.1
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 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 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 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 ..." "]" 111 132 Runs the test suite for the specified applications, or the entire project if 112 133 no apps are specified 113 134 .TP 135 .BI "testserver [" "\-\-addrport=ipaddr|port" "] [" "fixture fixture ..." "]" 136 Runs the test suite for the specified applications, or the entire project if 137 no apps are specified 138 .TP 114 139 .BI validate 115 140 Validates all installed models. 116 141 .SH "OPTIONS" … … 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 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, \-\-symlinks188 .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=PATTERN192 .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\-ignore196 .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 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