On Mon, 2009-05-04 at 11:31 -0700, pbzRPA wrote:
> Hi,
> 
> Could you provide the code of your model and why you would want to use
> a custom sql instead of the django model object.

For the type of query that Mike is asking about, custom SQL is a
reasonable solution. Django cannot really provide a nice way to do a
bunch of complicated direct-SQL stuff, which is why we provide
cursor.execute() in the first place.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to