Search code examples
djangosessiondjango-piston

How to use sessions with django piston auth?


The problem is that I want to store authentication in a cookie that I can present to django piston rather than requiring user/password to be typed in each time (without hardcoding or storing the user/pass combo somewhere on disk). I was hoping to accomplish this with cookies like someone would without the piston API. Am I missing something?

Django Piston doesn't seem to care about session cookies at all?

Or can someone suggest a good alternative? Maybe I shouldn't use Piston?


Solution

  • http://yml-blog.blogspot.com/2009/10/django-piston-authentication-against.html