To clear all the data from a django table, simply call:
ModelName.objects.all().delete()
Mainly notes to future-Twig (and for anyone else who may find them useful)
If you've found one or more of my blog posts helpful, why not say thanks by buying me a coffee or beer?
To clear all the data from a django table, simply call:
ModelName.objects.all().delete()