django-extensions – display sql query in shell_plus
Small Django tip of the day. I use django-extensions as dev dependencies of all my project. Among the useful command, I use shell_plus which colorify …
Each week, I share a technical trick that I learned
Small Django tip of the day. I use django-extensions as dev dependencies of all my project. Among the useful command, I use shell_plus which colorify …
On the project quefairedemesdechets.fr we recently migrate from Leaflet to MapLibre. Here I try to explain why and how. Performance MapLibre has better performances, this …
My need was to search in a limited square area. Actually it was a little bit more tricky, I implemented a « Search in this …
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
Here is my Django tip of the week (not provided every week 🙄) Let’s join in template ! Using template filter join Works well or …
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 …
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 …
I recently install django-extensions, ptpython and django-browser-reload packages on a project, it is convenient packages to Django developer. Installation install it with pip: or reference …
Licenses subject is a huge subject in open-source project because some of the licenses can be contaminating. Most common example is the GPL license, every …