SyntaxFix
Write A Post
Hire A Developer
Questions
if you want to delete one instance then write the code
entry= Account.objects.get(id= 5) entry.delete()
if you want to delete all instance then write the code
entries= Account.objects.all() entries.delete()