David Cramer has asked that Django's ORM lookup syntax be changed to allow a single underscore for a foreign key lookup; in other words, the following two examples would become equivalent:
UserProfile.objects.get(user__id=3) #Currently works UserProfile.objects.get(user_id=3) #Currently does not work Relevant ticket is #5535: http://code.djangoproject.com/ticket/5535 -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---