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 templates. Moreover, I also install HTML5 Boilerplate to have a responsive template.
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
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 first post, I’ll write about how to start a Django project with different environments for production, testing and developing, how to configure different setting files for each environment, and how to set Git to manage your project versions.
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 these posts is not to build a functional Django app. Instead, what I want to do is to give you a bunch of good practices on how to build a Django app with different environments for testing, developing and production, useful packages installed, Internationalization and Localization properly configured, PostgreSQL installed, and much more.
The topics covered here are:
- Install South and run it both on your local machine and on Heroku
- Prepare your app to support different languages
- Prepare your app to support Localization
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…
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.