Laurent Luce's Blog

Technical blog on web technologies

Facebook oauth and Graph API with Django

In this post, I am going to describe how I integrated Facebook into Gourmious, so users could post their favorite dishes on Gourmious and on Facebook at the same time. I wanted to keep the Gourmious login so the users could decide to login using their Gourmious credentials or using the Facebook login feature. I... » read more

Upload files from Python to Django

In this post, we are going to upload files using Python to a Django server in an efficient way (streaming style on both sides). We will upload all the files found in 1 folder to our Django server. We will also use authentication to post our data to the server. Client side A very nice... » read more

Create a Debian package for your Django application

This post is about building a Debian package to deploy a Django application on a Debian server. The package will take care of the following: Install application Web server configuration (in our case: Lighttpd with fastcgi) Init.d script to start/stop Django server We will also use a debconf template to ask 1 question to the... » read more