Jacob Kaplan-Moss wrote:
[..]
> > Another thing I'm wondering here is relating to authentication.
> > `django.contrib.auth` relies on sessions, which is good for sites but
> > is unnecessary for web services (again I'm looking at del.icio.us as a
> > good example).
>
> The session stuff is only accessed if you actually try to use it.  If
> you don't every check ``request.session``, the code'll never run.

Well, the auth module _requires_ the session stuff. Which in this case
is overkill. All I really need is to return a 401 and get a basic
authentication.

/M


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to