In a helpdesk app, I have a model called 'issue' which has a foreign key called 'resolution'. The 'resolution' model allows null values - if an issue is open, 'resolution' will be null, if closed, there will be a value there.
Before queryset-refactor, I could do the following and get results sorted so the open issues were first: >>> Issue.objects.all().order_by('-issue_resolution') After the change, the above query will only return issues with non null resolutions. Is this the expected behavior? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---