Re: Using Fabric to clear database records

2013-06-14 Thread Sithembewena Lloyd Dube
Thank you, Avraham. On Fri, Jun 14, 2013 at 2:26 PM, Avraham Serour wrote: > manage.py flush > > > On Fri, Jun 14, 2013 at 3:16 PM, Sithembewena Lloyd Dube < > zebr...@gmail.com> wrote: > >> Greetings, >> >> I've got a Django 1.5.1. project where I have a Video model (basically >> saving video

Re: Using Fabric to clear database records

2013-06-14 Thread Avraham Serour
manage.py flush On Fri, Jun 14, 2013 at 3:16 PM, Sithembewena Lloyd Dube wrote: > Greetings, > > I've got a Django 1.5.1. project where I have a Video model (basically > saving video metadata). I would like to create a fabfile in my project > folder so that when I run 'fab production refresh', t

Using Fabric to clear database records

2013-06-14 Thread Sithembewena Lloyd Dube
Greetings, I've got a Django 1.5.1. project where I have a Video model (basically saving video metadata). I would like to create a fabfile in my project folder so that when I run 'fab production refresh', the list of videos saved in the production environment (Amazon EC2) should be cleared out and