Skip to content

Tech I learned

Each week, I share a technical trick that I learned

  • Home
  • Code
  • Home
  • Code
Search in a BoundingBox with GeoDjango
Code / Django

Search in a BoundingBox with GeoDjango

03/01/202403/01/2024

My need was to search in a limited square area. Actually it was a little bit more tricky, I implemented a « Search in this …

Code / Django

Django tips, order randomly

18/10/202327/01/2024

Using Django Queryset, to get a random order by, just use the ? parameter Django doc : https://docs.djangoproject.com/en/dev/ref/models/querysets/#django.db.models.query.QuerySet.order_by

Django tip, join in template
Code / Django

Django tip, join in template

13/10/2023

Here is my Django tip of the week (not provided every week 🙄) Let’s join in template ! Using template filter join Works well or …

Code

Display an iframe without truncate content

15/09/202315/09/2023

In my project for ADEME (national environment agency), we need to display our app in an iframe to embedded it as a tool inside a …

Github action : some useful configuration
Code / Deploiment / Git/Github

Github action : some useful configuration

16/08/2023

Here I share some configuration I like to set in my github repo. Main banch Forget master branch, standard of CI/CD is to use main …

Paginate QuerySet in Django
Code / Django

Paginate QuerySet in Django

13/08/202313/08/2023

To manage a process on big queryset without overload the DB and the RAM, set the following loop: ⚠️ you need to set a order_by …

Code / Deploiment / Django

Configure GeoDjango in Scalingo

13/08/202313/08/2023

To configure GeoDjango (which use GDAL) in Scalingo, you’ll have to follow their documentation here : https://doc.scalingo.com/platform/app/app-with-gdal Don’t take care of the caution note about …

Keep it simple stupid and more
Code / Management

Keep it simple stupid and more

22/05/2023

You know about KISS philosophy which is aligned to LEAN thinking. In the same spirit, here is a thread of publication to enforce this philosophy: …

Logging and Sentry
Code / Python

Logging and Sentry

22/05/2023

Sentry in a software monitoring tools which have the ability to group errors, this is very useful to don’t be flood by repeated errors which …

Git and SSH tips
Code / Git/Github

Git and SSH tips

07/05/202313/08/2023

For one of my project I need to manage a different ssh key to deliver the code in an other git repo account. It can …

Posts navigation

Previous 1 2 3 Next

Recent Posts

  • django-extensions – display sql query in shell_plus
  • Why I migrate from Leaflet to MapLibre
  • PostgreSQL tips
  • Convert a UUID in base57 with PostgreSQL (like Shortuuid)
  • PostgreSQL doesn’t know how to do division

Categories

  • Code
  • Deploiment
  • Django
  • Flutter
  • Générale
  • Git/Github
  • Management
  • Map
  • PostgreSQL
  • Python
  • Security
  • Tailwind
Copyright © 2025 Tech I learned. Powered by WordPress and Bam.