Hi! The following line in my application seems to have stopped working as I expect:
for object in self.queryset.select_related().order_by ("app_building.principal_name", "reference"): the first ordering term on principal_name is no longer working. by looking at ...query.as_sql() I can see the ORDER BY is not being added. According to the docs: New in Django 1.0: Please, see the release notes The syntax for ordering across related models has changed. See the Django 0.96 documentation for the old behaviour. but I cannot find any reference to the new syntax I have looked at the source, and it appear that if I could use " app_building.`principal_name` " (i.e. with 'backticks') it would work. but these are rejected by the regexp match. Please could someone point me in the right directions. Thanks, -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=.