mirror of
https://github.com/django/django.git
synced 2025-07-04 17:59:13 +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:
parent
64e4ffc932
commit
f0fa0808ea
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user