diff options
Diffstat (limited to 'docs/ref/django-admin.txt')
| -rw-r--r-- | docs/ref/django-admin.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 7b6b6c4fd6..dff5e681f8 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -186,7 +186,7 @@ if you're ever curious to see the full list of defaults. dumpdata -------- -.. django-admin:: dumpdata <appname appname ...> +.. django-admin:: dumpdata <appname appname appname.Model ...> Outputs to standard output all data in the database associated with the named application(s). @@ -228,6 +228,14 @@ directives:: easy for humans to read, so you can use the ``--indent`` option to pretty-print the output with a number of indentation spaces. +.. versionadded: 1.1 + +In addition to specifying application names, you can provide a list of +individual models, in the form of ``appname.Model``. If you specify a model +name to ``dumpdata``, the dumped output will be restricted to that model, +rather than the entire application. You can also mix application names and +model names. + flush ----- |
