Re: Login on the fly.

2012-03-18 Thread Honggang Wang
Hi Andre, In order to contribute to Django, you may want read the guides first: https://docs.djangoproject.com/en/dev/internals/contributing/ Regards, -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to d

Login on the fly.

2012-03-18 Thread Andre Caldas
e does not log the user in! It just reads the cache and sets request.user in case the user is ALREADY logged. Here, we imitate RemoteUserMiddleware to make the login on the fly. ''' def process_request ( self, request ): #if 'POST' != r

Re: Login on the fly.

2012-03-18 Thread Andre Caldas
Sorry! I forgot to change the "GET" back to "POST" and uncomment the first two lines inside process_request. André Caldas. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups