Re: django.core.management changes

2007-08-30 Thread James Bennett
On 8/30/07, akonsu <[EMAIL PROTECTED]> wrote: > 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 procedu

Re: django.core.management changes

2007-08-30 Thread akonsu
Alex, thanks for your help. the code that worked is: call_command('reset', 'myapp', interactive = False) call_command('loaddata', FIXTURE_PATH, verbosity = 0) cheers konstantin On Aug 30, 2:51 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > try this: > > from django.core.management imp

Re: django.core.management changes

2007-08-30 Thread Alex Koshelev
try this: from django.core.management import call_command call_command( "reset", models.get_app('myapp'), interactive = False ) call_command( "load_data", [FIXTURE_PATH], verbosity = 0 ) --~--~-~--~~~---~--~~ You received this message because you are subscribed t