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.
The Python datetime library provides several useful objects to manipulate times and dates. I’ve been using them a lot lately, and I want to share some useful operations that might be useful to you as well 😉
You can find a video version of this post at the bottom of the page 🙂
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.