You just picked up this framework named Django, played around with it’s ORM for a while and you love how easy you can work with it. You start to notice that your perfect page is taking ages to load. You check your django-debug-toolbar and you find that your view has more than 100 queries!!! This … Continued

One of the most important moments when writing a python application is testing. It could be boring, tedious and {{ insert your favorite insult here }}, but it will save your life when that careless teammate goes and twists everything (that careless teammate could be you at 7:00 a.m. on Monday) just before due time. … Continued

Once you have a site on production, new needs start showing up. For us one of those needs was to be able to send information to our users when something was happening to the application, like some update or maintenance. There are two simple approaches to this issue: Create a notification system and send the … Continued

The Django Cookiecutter created by Pydanny allow us to create a Django application with a great structure and best practices in no time. The official repository is located at: https://github.com/pydanny/cookiecutter-django Even though, the documentation is clear, I want to show you the whole process: Install the cookiecutter Being in your python environment, you can install it … Continued

Docker is an open platform for building, shipping and running distributed applications. It gives programmers, development teams and operations engineers the common toolbox they need to take advantage of the distributed and networked nature of modern applications. Containerization provides several advantages like faster provisioning or isolated and easy to recreate environments. If you don’t know what containerization … Continued