cara menghapus semua contoh model di django
from django.shortcuts import render
from .models import Car
def showthis(request):
#deletes all objects from Car database table
Car.objects.all().delete()
context= {}
return render(request, 'Blog/home.html', context)
LawlietL