Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django delete table data

from the ORM:
    Reporter.objects.all().delete()

management command:
	python manage.py flush
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #delete #table #data
ADD COMMENT
Topic
Name
5+5 =