hello,
my script creates a fixture file at FIXTURE_PATH, and then runs the
reset command on my application. the relevant code is listed below.
now that i synced to the latest trunk, this code no longer runs
because the management module has no procedure 'reset'.
what is the proper way to do what i want now?
please help.
thanks.
konstantin
from django.core import management
management.reset(models.get_app('myapp'), interactive = False)
management.load_data([FIXTURE_PATH], verbosity = 0)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---