diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2013-07-25 16:19:36 +0100 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2013-07-25 16:19:36 +0100 |
| commit | f8297f63233ccf78f923a597ed7d8327f90230c2 (patch) | |
| tree | bc1cfe0e0808f032565685e23e61d53ef28bcc78 /docs/man/django-admin.1 | |
| parent | 06103c8ef53b7ac71def7ed34c337bb4b7dd89d9 (diff) | |
More migration docs, and conversion of all easy syncdb references
Diffstat (limited to 'docs/man/django-admin.1')
| -rw-r--r-- | docs/man/django-admin.1 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/man/django-admin.1 b/docs/man/django-admin.1 index 4d937b488b..f1b568daf5 100644 --- a/docs/man/django-admin.1 +++ b/docs/man/django-admin.1 @@ -45,8 +45,7 @@ Outputs to standard output all data in the database associated with the named application(s). .TP .BI flush -Returns the database to the state it was in immediately after syncdb was -executed. +Removes all data from the database and then re-installs any initial data. .TP .B inspectdb Introspects the database tables in the database specified in settings.py and outputs a Django @@ -114,9 +113,9 @@ the current directory or the optional destination. Creates a Django project directory structure for the given project name in the current directory or the optional destination. .TP -.BI syncdb -Creates the database tables for all apps in INSTALLED_APPS whose tables -haven't already been created. +.BI migrate +Runs migrations for apps containing migrations, and just creates missing tables +for apps without migrations. .TP .BI "test [" "\-\-verbosity" "] [" "\-\-failfast" "] [" "appname ..." "]" Runs the test suite for the specified applications, or the entire project if |
