[Fixed]-Django Many-to-Many query all() returns empty set

1👍

Django’s ManyToManyField takes positional arguments which are not in the order you’ve provided. See the source for M2M. I suggest you use keyword arguments, as positional arguments can cause problem let alone even change between minor versions.

Leave a comment