Loading docs/ref/django-admin.txt +9 −0 Original line number Diff line number Diff line Loading @@ -1638,6 +1638,15 @@ Examples:: management.call_command('flush', verbosity=0, interactive=False) management.call_command('loaddata', 'test_data', verbosity=0) Note that command options that take no arguments are passed as keywords with ``True`` or ``False``:: management.call_command('dumpdata', use_natural_keys=True) Command options which take multiple options are passed a list:: management.call_command('dumpdata', exclude=['contenttypes', 'auth']) Output redirection ================== Loading Loading
docs/ref/django-admin.txt +9 −0 Original line number Diff line number Diff line Loading @@ -1638,6 +1638,15 @@ Examples:: management.call_command('flush', verbosity=0, interactive=False) management.call_command('loaddata', 'test_data', verbosity=0) Note that command options that take no arguments are passed as keywords with ``True`` or ``False``:: management.call_command('dumpdata', use_natural_keys=True) Command options which take multiple options are passed a list:: management.call_command('dumpdata', exclude=['contenttypes', 'auth']) Output redirection ================== Loading