Did you know that you can tell Google to search for synonyms? Or to look for a number between a given range? In this post, I’ll show you how to make your Google queries much more accurate. You only need to know the special notation that Google understands and use it in each situation!
Having fun with Google charts: double y-axes and more!
This is my first post about Google Charts, an amazing tool to create simple charts in your html files. It is free and really powerful, with a lot of options and easy to implement. In this first post you’ll learn how to create a simple LineChart with three different data series. Two of them follow…
Document your Django projects: reStructuredText and Sphinx
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.
13 useful tips about Python datetime objects
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 š
Tools for Testing in Django: Nose, Coverage and Factory Boy
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…
Install and configure Sublime Text 3 for Django
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!
Django best practices IV: Models, forms, managers, urls, admin, views and signals.
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,…
Django testing: Doctests and Unittests
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 best practices III: Install South, Localization, Internationalization and Django-registration
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…
Install Celery with Django on Heroku and create a Periodic Task
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.