On May 17, 7:47 am, Brij <[EMAIL PROTECTED]> wrote: > Please help me getting the django database api for this query which i > can use in the my view and send the object to my template to display > the result
Hi, check out this snippet I posted that tries to make similar SQL like this reusable. Unfortunately, it involves building raw SQL strings -- the django.db API could use some work, but this works fine for now: http://www.djangosnippets.org/snippets/166/ Just thought you might want to use it for reference, cause I'm pretty sure you're going to have to build some SQL yourself. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---