On 17 Sie, 01:58, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> The new form looks something like:
>
> >>> from django.core.management import call_command
> >>> call_command('flush', verbosity=0, interactive=False)
> >>> call_command('load_data', ['test_data'], verbosity=0)

To be clear the last call must be in form:
>>> call_command('loaddata', 'fixture 1', 'fixture 2', 'fixture 3', verbosity=0)

Jakub Wiśniowski


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to