Django m2m .add
p1 = Publication(title='The Python Journal')
p1.save()
a1 = Article(headline='Django lets you build Web apps easily')
a1.save()
a1.publications.add(p1)
# Adding a second time is OK, it will not duplicate the relation:
a1.publications.add(p1)
astarrh