On Sat, Jan 07, 2012 at 11:52:26AM -0500, Kevin Anthony wrote:
I have a small exposed json API, currently it doesn't require
authentication, but i'd like to integrate it with django's authentication.
A quick google search came up empty, and i was wondering if anyone had
any recommendations on how to do this?

I've done this before using forms and POST, but you could easily put the user credentials in your json object and use django.contrib.auth as described here:

https://docs.djangoproject.com/en/1.3/topics/Aauth/#authentication-in-web-requests

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to