Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class One(models.Model):
- name = models.Charfiel()
- class Two(models.Model):
- name = models.CharField()
- one = models.ForeignKey(One)
- class Three(models.Model):
- name = models.CharField()
- two = models.ManyToManyField(Two)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement