[Answer]-Django ManyToMany relation contains value 27 December 2023 by thecoderscamp.com 1👍 You can try to do: t = Teacher.objects.get(username=u.username) var = t.allowed_set.all() 👤emigue [Answer]-How to save a local file in a FileField in django Source:stackexchange.com