Skip to content

Tech I learned

Each week, I share a technical trick that I learned

  • Home
  • Code
  • Home
  • Code

Category: Django

Generate PDF using python, docx templating and libreoffice deployed on Scalingo
Code / Deploiment / Django / Python

Generate PDF using python, docx templating and libreoffice deployed on Scalingo

24/08/202424/08/2024

What I need to achieve ? For one of my client project, I need to produce legal documents (named CERFA) filled with information entered by …

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 …

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 …

Recent Posts

  • PostgreSQL tips
  • Convert a UUID in base57 with PostgreSQL (like Shortuuid)
  • PostgreSQL doesn’t know how to do division
  • GIT Blame in VSCode
  • Manage MAX_ID and auto_increment value

Categories

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