Hi, As you can see in the ticket¹, I've identified the source of the exception and provided a naïve patch. I am however not familiar with internals of the SQL compiler enough to judge whether it's the correct place to patch. Can someone with more knowledge hold my hand here?
I am interested in this bug as it couses us quite a headache in the Satchless project. Being unable to select_related() we currently have to choose between making an extra query (ouch) and ignoring the ORM (eww). Cheers, ¹ https://code.djangoproject.com/ticket/16572 -- Patryk Zawadzki I solve problems. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.