Google Analytics is a powerful tool that gives you useful insight about the traffic that arrives in your website. But together with Django, you will be able to retrieve data of your Analytics account and display it to the user, on demand.
In this post you’ll learn how to put together Django, the oauth2 protocol and the Google Analytics API.
When you remove a Django Model or a full app in Django, you have to be careful in how you do it, and how the database will be affected.
Thus, in this short post I’ll explain what I do when deleting a model or an app.
Authentication credentials between your site and your end users must be secret. Is your site secure enough?
One important step is to use HTTPS everywhere in your Django website, and in this post we will show you how to implement it.
In particular, if you are deploying your App on Heroku, don’t miss this post 😉
Check this post to learn how to document a Django project!
You’ll get an introduction to the reStructuredText markup language, learn how to install Sphinx, a library that takes the docstrings of your code and compiles them into nice html pages, and configure it for a Django project.
In this post, you will learn how to install and use Nose, a tool for running your tests in Django.
You’ll learn how to run and configure Coverage, so that it reports only the packages and directories of interest.
And also, you’ll learn how to install and use Factory Boy in your tests (an alternative to Fixtures).
In this post, you’ll learn how to install Sublime Text 3, my new discovery regarding editors. It has made my life easier!
Moreover, I’ll show you how to configure it to help you when coding with Django!
This is the fourth post about I 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. Take a look at Part I, Part II and Part III.
In this post, I’ll show you how to create your fist app, with its models, forms, managers, urls, admin, views and signals.
In this post, I introduce testing in Django and discuss the two common ways of performing tests: using Doctests and using the library unittest.
You’ll learn how to start writing your first test as well as the main differences between these two ways of testing.
Note: this post uses the old Test Suit, used in Django < 1.6. This is because I prefer how it discovers my test files. If you don’t like it… wait for a post on Nose, which will come soon 🙂
This is the third post about I 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. Take a look at Part I and Part II here.
In this post, I write about how to install South, how to prepare your project for internationalization and localization, and how to install and use the package django-registration to manage the registration and login of users.
Previously, I wrote about How to install Celery on Django and Create a Periodic Task. This post extends that post to the particular case of how to install it on Heroku.
You can also know more about how to deploy a Django app on Heroku.