That’s exactly what I was doing, just haven’t had the time yet to share my experience :)
2015-06-10 11:55 GMT+02:00 'Tom Evans' via Django users < [email protected]>: > On Tue, Jun 9, 2015 at 10:07 PM, Gergely Polonkai <[email protected]> > wrote: > > Hello, > > > > I’m about to use the test server with REMOTE_USER based logins. I already > > know how to set it up with my Apache based server, but I can see no way > of > > doing the same with the dev server (manage.py runserver). I have tried > > setting the environment variable REMOTE_USER to a desired value, as I saw > > some env vars in request.META earlier, but it doesn’t seem to help. Does > > anybody know if this is possible, and if so, how? > > > > Best, > > Gergely > > > > Write a piece of custom middleware that is only active with DEBUG=True > that sets the REMOTE_USER you desire. > > Cheers > > Tom > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAFHbX1Lv6XyBuj6_Xy%3DGSC3g-tndH77Z9oD3QdPUNHk9PLqLqA%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACczBU%2Bu_h1d5F2qBYWfvHgB_Tgc2NoDNkcw1WPXs_ww0Y%3DXww%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

