1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

[1.1.X] Fixed #13253 -- Updated the help message for dumpdata to indicate that individual models can be serialized. Thanks to arowla for the report.

Backport of r12893 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-03-31 11:34:32 +00:00
parent 64e4ffc932
commit f0fa0808ea

View File

@ -15,7 +15,7 @@ class Command(BaseCommand):
help='App to exclude (use multiple --exclude to exclude multiple apps).'), help='App to exclude (use multiple --exclude to exclude multiple apps).'),
) )
help = 'Output the contents of the database as a fixture of the given format.' help = 'Output the contents of the database as a fixture of the given format.'
args = '[appname ...]' args = '[appname appname.ModelName ...]'
def handle(self, *app_labels, **options): def handle(self, *app_labels, **options):
from django.db.models import get_app, get_apps, get_models, get_model from django.db.models import get_app, get_apps, get_models, get_model