Django best practices II: Project structure and HTML5 Boilerplate implementation

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.

Read More!

Google+TwitterLinkedInFacebookReddit

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

Read More!

Google+TwitterLinkedInFacebookReddit

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

PART IV

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
Google+TwitterLinkedInFacebookReddit