If a model exist like
class Empprofile(models.Model):
name= models.CharField(max_length=255)
group = models.CharField(max_length=255)
description = models.CharField(max_length=1024)
class Details(Empprofile):
address1=models.CharField(max_length=255)
address2=models.CharField(max_length=255)
Views,
ep =Empprofile.objects.filter(name="Tom")
for e in ep:
//How to delete all objects from Details table
How to delete all objects Details related to it
Update:Want to delete all rows from Details