Am Thu, 17 Oct 2013 13:32:44 +0300
schrieb Avraham Serour <tovm...@gmail.com>:
> The whole idea of having an ORM is not having ot deal with SQL
> directly unless necessary. I would try to do it using the ORM first
> but there's not general rule, each case should be analised
> individually

Actually you shouldn't decide each case individually but use the ORM by
default! The ORM is tested for a lot of cases whereas your SQL is only
working in your own case. And there are a lot of problems you might
think are better to solve in raw SQL, but actually after thinking
about it using the ORM will give you simpler code, simpler algorithms,
more optimization and less runtime... At least its our experience that
on 2/3 of the places where we 'needed' to do raw SQL replacing that by
using the ORM actually improved everything.

Have fun,

Arnold

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20131017231237.65b6b31f%40orinoco.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to