Contribute Media
A thank you to everyone who makes this possible: Read More

Django ORM Be Careful – Tim Hsu (PyCon Taiwan 2021)

Description

Day 1, 10:40-11:25

Abstract

Django ORM is amazing for handling a lot of database routines. However, if you don't know how it works under the hood, you may corrupt your data unconsciously. I will demonstrate some harmful ORM operations and fix them.

Description

Django ORM helps developer finish their job by abstracting a lot of database operations. however, unawareness of the ACID characters of a database system will result in a buggy system.

On the other hand. due to Django translate a series of function calls to some SQL query. if you don't understand the syntax of a SQL query. you may get incorrect results.

To help Django developers, this talk will comprise these parts.

ACID introduction Underlying SQL produced by Django ORM Example of common mistakes

Slides not uploaded by the speaker. HackMD: https://hackmd.io/@pycontw/2021/%2F%40pycontw%2FBJhI5kKGK

Speaker: Tim Hsu

Python Developer from iCHEF. Love to chat.

Details

Improve this page