django-db-views
django-db-views copied to clipboard
error: column "id" specified more than once
I got the following error when trying to join two tables as follow:
view_definition = lambda: str(SomeModel.objects.select_related("another_model").query)
error:
django.db.utils.ProgrammingError: column "id" specified more than once
@adeebx1 Hello, Could you provide more details? like definition of models? Generated query string would be great
thank you