Hi everyone
I have three tables 
class Employee(models.Model):
  name = models.CharField()

class Dependent(models.Model):
  employee_id = models.Foreignkey(Employee , on_delete= models.CASCADE)
  dependent_name = models.CharField()

class Document(models.Model):
  employee_id = models.Foreignkey(Employee , on_delete= models.CASCADE)
   document_name= models.CharField()

So, in the employee Detailview I want to perform CRUD operations on 
Dependent and Document table

Pls can anyone provide th solution

Thankyou






-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/da44e880-9d05-42c7-a3fd-2f0dc9b51f29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to