Quick start with Django ORM

As a web developer, using databases may be a pain, you must ensure that all your queries are pretty well structure, and they have to work as expected, so  when you choose and ORM you are in a good way to achieve it, you ...

Working with nested forms with Django

One of the biggest advantages of Django is its ability to create CRUDs applications with no effort. You just need to define your models, register them at the admin and that’s it. If you are not going to follow the admin approach, you may ...

Speed it up! Recommendations to make your Django app faster

Let's admit it, Django rules. It is simple, trustworthy, fast and it is written in Python. What else do you need? However, we tend to abuse its easiness and we quickly forget that an application grows; and with it the amount of code processed ...

How to create Django Data Migrations

Sometimes, you have a well defined structure in your database, but you have to refactor it . This refactor implies hard and sensitive changes that may break your database. that's where Data migration appears, to facilitate those changes. “As well as changing the database ...

How to do a Wizard Form with Django

Many times, we have a form with a lot of fields and we need to use it, but we don't want users to get bored filling the form or that they stop at middle of the form and they end up leaving the website. ...

Simple django wordpress integration with Django WordPress API library

Nowadays, WordPress is the most known CMS in the web. For creating and managing static content with no complex logic behind, it is a good point to start. The problem is when you need to start managing users, custom data and relate them through ...

Animations with JavaScript

When building a website, it is intended to be striking, but without sacrificing usability and functionality. To achieve this, different animations or effects can be used to call user attention. However, implementing an animation can be limiting; for example, the wide variety of mobile ...

Testing Files with Python/Django

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 ...

Simply Django: Announcements

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 ...

How to create a Django Application using Cookiecutter

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 ...

Dockerizing Django Apps

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 ...