How to remove all of the data in a table using Django

Solution 1:

Inside a manager:

def delete_everything(self):
    Reporter.objects.all().delete()

def drop_table(self):
    cursor = connection.cursor()
    table_name = self.model._meta.db_table
    sql = "DROP TABLE %s;" % (table_name, )
    cursor.execute(sql)

Solution 2:

As per the latest documentation, the correct method to call would be:

Reporter.objects.all().delete()