Hey! No problem here. Thank you both for directions. Jakub Wiśniowski
On 17 Sie, 01:58, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 8/17/07, eXt <[EMAIL PROTECTED]> wrote: > > > >>> from django.core import management > > >>> management.flush(verbosity=0, interactive=False) > > >>> management.load_data(['test_data'], verbosity=0) > > Hi Jakub, > > Sorry for the inconvenience here - especially after I just gave you > that piece of advice a few days go. If it's any consolation, the new > infrastructure opens up a whole lot of possibilities for end users > writing applications that integrate with Django itself. > > 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) > > Again - sorry for stepping on toes here. > > Yours, > Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---