I'm switching from PHP to Django/Python, and one thing I don't really like about django so far is the ORM. When inserting new rows, it's fine, but when I want to SELECT something more specific, I find that the ORM is more troublesome than pure SQL, specially since I already know SQL quite well.
So, can I write pure SQL in Django, or I am forced to use the ORM?
If it's possible, examples on how to use SQL in django would be very welcome.
.raw()? That should be what you're looking for. See docs.djangoproject.com/en/dev/topics/db/sql