Python vs Ruby and Django vs. Rails

December 29, 2012 · Posted in Development · 2 Comments 

In this post I am collecting opinions about pros and cons of using two popular web frameworks Python’s Django and Ruby on Rails in web development. I tried to include all factors that matter to choose between two frameworks.

Read more

Executing raw SQL in Django

October 20, 2012 · Posted in Development · Comment 

Sometimes you need to run a custom SQL query and return results that do not correspond to your model or make SQL queries to UPDATE or DELETE directly on a database.

Some scenarious:

- make a specific SELECT query and return a list of rows which are dictionaries (not objects of a model)

- make UPDATE or DELETE queries

Read more