Updated API for new model

I had to install repo version of piston for it to work :
`sudo pip2 install hg+https://bitbucket.org/jespern/django-piston`