manage.py flush
On Fri, Jun 14, 2013 at 3:16 PM, Sithembewena Lloyd Dube <[email protected]>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', the list of videos > saved in the production environment (Amazon EC2) should be cleared out and > any new videos added should have ids starting from 1 again. > > Any ideas on implementing this? > > -- > Regards, > Sithu Lloyd Dube > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.

