Sunday, May 19, 2013

Python client Post to REST API using Basic Authentication

This is a simple post request to a REST API using python with basic authentication.

If you want to do a PUT, just uncomment the commented line and replace with the proper URL. Every other CRUD actions will follow the same approach.

Thursday, May 16, 2013

Using celery periodic tasks with Django

Although there are some documents and tutorials regarding this subject, i belive they are not well "explained" or are just a little confusing. So i decided to do my own tutorial.

its pretty simple actually, basically you just have to edit your settings.py and add this lines: