[Fixed]-Django factory boy test gives __str__ returned non-string 26 December 2023 by thecoderscamp.com 1👍 ✅ try def __str__(self): return '%s' % self.naam 👤Ondrej Sika Django-rest-framework PUT manytomany through model Source:stackexchange.com