'Django' Tag

  • Amazon S3 upload and download using Python/Django

    October 7, 2010

    This article describes how you can upload files to Amazon S3 using Python/Django and how you can download files from S3 to your local machine using Python. We assume that we have a file in /var/www/data/ which we received from the user (POST from a form for example). You need to create a bucket on […]

  • Upload to Django with progress bar using Ajax and jQuery

    September 30, 2010

    In this article, I am going to describe how I implemented upload to Django + progress bar with Ajax and jQuery. I needed this feature so users could post their dish pictures on Gourmious and follow the upload’s progress. Client Side We need a form so the user can select a file to upload. We […]

  • Facebook oauth and Graph API with Django

    August 23, 2010

    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 […]

  • Upload files from Python to Django

    January 24, 2010

    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 […]

  • Create a Debian package for your Django application

    January 2, 2010

    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 […]

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org