How to get Foreign Keys horribly wrong in Django

Haki Benita Haki Benita
Language: Hebrew
The presentation was given on 2025.05.28 at PyWeb-IL #115 - May 2025.

Not many know this, but Foreign Keys in Django has a lot more then meets the eye! In this talk we'll build a small Django app together and tackle many issues related to Foreign Keys in the process. We'll talk about indexes, safe migrations, concurrency and performance. We'll also explore some of Django's implicit behaviors and discuss when and how we can do better!