On Mar 7, 8:21 pm, Jamie Pittock <smallb...@gmail.com> wrote: > Thanks Daniel. Yeah it's just a way of getting the county so I'll try > your second option. Could you possibly point me to the docs that > explain the double underscore?
It's the standard syntax for lookups across relationships. See http://docs.djangoproject.com/en/dev/topics/db/queries/#lookups-that-span-relationships -- DR. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---