title: How to erase table data in Django?
body: <p>I wrote a simple script for populating the table created with Django models. I did make mistakes during the development process and have corrupted data in my table (it is accessible but has wrong images, names, urls). I want to erase this data and start the populating over, but it looks like the table stores previous primary keys (so the new objects do not start from <code>pk=1</code>) if I just use <code>Model.objects.all().delete()</code>. </p>
  
  <p>How can I erase all the previous data without <code>DROP TABLE</code>? If <code>DROP</code> is the most convenient way, is this <a href="https://stackoverflow.com/questions/27583744/django-table-doesnt-exist/27583836#27583836">Django : Table doesn&#39;t exist</a> solution for restoring is the only one?</p>
  
  <p>The desired functionality is erasing data before every script run, automatically. Thank you in advance.</p>