This is the second post about how to build a Django project from scratch, focusing on the project structure, internationalization and localization configuration, models, managers, views, forms and templates. Check the first part here. In this post, I write about how to build an ordered project structure: where you should put your apps, libraries and…
Month: February 2014
How to install Celery on Django and Create a Periodic Task
Updated on December 2015! – Now for Celery 3.1.19 and Django 1.8.7. This post explains how to set up Celery with Django, using RabbitMQ as a message broker. It also explains how to create a Periodic Task Marina MeleMarina Mele has experience in artificial intelligence implementation and has led tech teams for over a decade. On…
Django best practices I. Different environments, different settings files and Git.
Previously, I wrote a series of posts about how to deploy a Django app on Heroku, together with some best practices. But not everyone uses Heroku! Therefore, I’ll write about how to build a Django project from scratch, focusing on the project structure, internationalization and localization configuration, models, managers, views, forms and templates. In this…
How to deploy a Django app on Heroku. Part IV
This is the fourth part of a series on how to deploy a Django app on Heroku. How to deploy a Django app on Heroku. Part I. How to deploy a Django app on Heroku. Part II. How to deploy a Django app on Heroku. Part III. You will see that the main idea behind…
How to access multiple Heroku accounts from one Computer
Today I run into some trouble when I tried to access another Heroku account from my computer. After some research, I discovered the heroku-accounts plugin, which completely solved my problem! 🙂 Let’s see how it works… Marina MeleMarina Mele has experience in artificial intelligence implementation and has led tech teams for over a decade. On her…
How to use the HubSpot API with Python
In this post I will explain how to use the HubSpot API using Pyhton. I will focus in two diferent API requests: the total number of contacts in your database and the number of contacts that belong to one of your HubSpot lists. Marina MeleMarina Mele has experience in artificial intelligence implementation and has led…