[Fixed]-Invalid distinct with django 12 December 2023 by thecoderscamp.com 1👍 try this Cars.objects.values('name').distinct() 👤Exprator Django – Exclude superuser from LDAP auth Source:stackexchange.com