English: Gmail registration screenshots فارسی: عکسهای برگه ثبتنام جیمیل (Photo credit: Wikipedia) Django registration module is quite handy whenever you need some users to, well, registrate to your website… In this post, I will explain you how to install and configure it for your web app. To install django registration module: easy_install -Z django-registration The…
If you want to install Keepass2 under Debian Squeeze, you will have a problem: keepass2 is not in the official repositories. Only keepassX is available. In this blog post I explain how to install Keepass2 nevertheless. At first glance, I see two potential solutions: We can find the keepass2 package on the web, download it,…
Webfaction payment history (Photo credit: yashh) I hesitated a lot among several options for hosting a django based web app. After reading a lot of posts, I decided to go with webfaction, because there was a lot of positive feedback from existing customers and they have a two month cost free cancellation policy (that means…
In this post, I will explain you how to configure Django with PostgreSQL instead of MySQL. I did several changes locally before deploying my app to heroku and Amazon S3. I changed my configuration to use postgreSQL instead of mySQL. I did not have any data stored in MySQL, so I reinitiated a brand new…
Debian OpenLogo (Photo credit: Wikipedia) English: Nginx Logo Español: Logo de Nginx (Photo credit: Wikipedia) This post explains how to install nginx and gunicorn for django under linux Debian. From my readings, nginx should be used to serve static files. Nginx should proxy all other requests to gunicorn. These two tools are easy to install…
In this post, I will show you how to know the size (number of row/records) of a MySql database. I wanted to host an app on heroku. They offer free database for up to 10000 rows. So, I needed to know if my database fits into that limit… $ mysql -u root -p mysql> use…
In this post, I will explain you how to use Celery and print warning messages to stdout. Cross section of celery stalk, showing vascular bundles, which include both phloem and xylem. (Photo credit: Wikipedia) If you use celery, you might be frustrated by the absence of the ‘print’ assertions that you put in your code…
Synaptic Package Manager 0.61 on ubuntu (Photo credit: Wikipedia) To install lxml in your virtualenv, do: sudo apt-get install libxml2-dev libxslt-deveasy_install lxml==2.2.8