Posts

Showing posts with the label django-piston

Django Authentication Information

function is_authenticated() -> doesn't imply any permission, group or user active. It's just indicate user has provide valid name and user. --- function authenticate() -> authenticate a given username and password (or something) and return user object if password is valid for the given username, return None if not. --- function login() -> to log user to view. It takes an HttpRequest object and user object and save user's id in the session, using django's session framework and session middleware. --- more issues you can use custom authentication module with modified authenticate function, which can authenticate with other credential (not just username, password)

stuff for web dev#2

http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/ http://mojodna.net/2009/05/20/an-idiots-guide-to-oauth-10a.html http://hueniverse.com/oauth/ http://oauth.net/documentation/getting-started/ http://bitbucket.org/jespern/django-piston/wiki/Documentation http://www.thedigitalself.com/exposing-rest-services-with-python-and-django http://beautifulisbetterthanugly.com/posts/2009/jul/23/restful-web-service-using-django-piston/ http://blog.carduner.net/2010/01/26/django-piston-and-oauth/ http://hedgehoglab.com/blog/2008/03/03/django-debug-techniques-and-ipython/ THANK FOR ALL MANKINDS