Category - Django

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 some degree of complexity; WordPress is not the tool to do […]

Squash your response time in Django: Querysets


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 […]

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 be you at 7:00 a.m. on Monday) just before due time. […]

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 approaches to this issue: Create a notification system and send the […]

Setting a testing/deployment pipeline for your Django app using Codeship and AWS CodeDeploy


If you have been working with Django (and probably web in general) you must be already used to doing deployments this way (assuming you do testing): Run the tests for my app SSH to my server Set up my repository and clone the branch i want to deploy. If that was already done, then pull […]

How to create a Django Application using Cookiecutter and Django 1.8


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 […]

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 isolated and easy to recreate environments. If you don’t know what containerization […]