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
PHP vs Ruby vs Python (Infographic)
January 23, 2012 · Posted in Development · Comment
