Tuesday, May 31, 2011

How to create user on mobile app for Django site?

What is the correct way to do the following:

1) Mobile App from which a user can create a user/profile on the Django site
2) Allow authenticated users to create on the site and query personalized data from the site

This is what I guess I have to do:

1) Create a REST API (probably with e.g. django-piston) on at the Django site for creation and authentication

How would I authenticate against the Django site?

When I use URL connections from the mobile app do I always have to send the credentials or can the Django site identify me by storing session cookies on the client just like as if the mobile app would be a browser?

Note: When I say mobile app I actually mean iPhone App for now, but there might be a Android version sometime in the future.

Thanks for any advice!

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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment