Skip to content

Tech I learned

Each week, I share a technical trick that I learned

  • Home
  • Code
  • Home
  • Code

Tag: order

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

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.