django-planet

Feed: Thomas Loiret - Random thoughts

Django: show me the SQL

Feb. 28, 2024 » Thomas Loiret - Random thoughts » [Archived Version]

8 different ways to see the SQL generated by Django

Read More

List of Python web frameworks

Jan. 24, 2024 » Thomas Loiret - Random thoughts » [Archived Version]

Non exhaustive list of web frameworks written in Python

Read More

Django/DRF: how to authenticate a user in tests?

Jan. 8, 2023 » Thomas Loiret - Random thoughts » [Archived Version]

What are the different options to log a user in tests?

Read More

Tech lead: delegate

June 1, 2022 » Thomas Loiret - Random thoughts » [Archived Version]

Don't be on the critical path unless it is for a very short period of time.

Read More

How did I get there?

Feb. 15, 2022 » Thomas Loiret - Random thoughts » [Archived Version]

A couple of tricks to understand the path taken to a certain point in the code.

Read More

DRF Viewset: permission policy per method

Nov. 27, 2021 » Thomas Loiret - Random thoughts » [Archived Version]

How to define permission policy at a ViewSet methods level ?

Read More

Django model: change field name with no DB impact

March 6, 2021 » Thomas Loiret - Random thoughts » [Archived Version]

How to avoid operations on your database while you change a model field name.

Read More

Python geofencing

Aug. 1, 2020 » Thomas Loiret - Random thoughts » [Archived Version]

How to determine if GPS coordinates are within a specific geographical zone.

Read More