Re: Django Admin keeps redirecting to login page repeatedly

2017-02-14 Thread Abdul Wahid
Yes, I removed that middleware and its working fine now. I would always keep an eye these third party tools before blaming to django core. Thanks for the advice. Regards, Abdul Wahid On Tue, Feb 14, 2017 at 3:59 PM, Tim Graham wrote: > No idea but it seems like you should update your requiremen

Re: Django Admin keeps redirecting to login page repeatedly

2017-02-14 Thread Tim Graham
No idea but it seems like you should update your requirements per that project's readme: "Please note that django-zappa has been superceded by Zappa , which includes all of the django-zappa features and more!" Even the latest version of django-zappa doesn't ha

Re: Django Admin keeps redirecting to login page repeatedly

2017-02-13 Thread Abdul Wahid
Hey Tim, Thanks for the hint, You are right the culprit was the *"* django_zappa.middleware.ZappaMiddleware*" *Its working fine without this middleware but I require this middleware (Django Zappa) as for AWS lambda which provides me serverless hostin

Re: Django Admin keeps redirecting to login page repeatedly

2017-02-13 Thread Tim Graham
Can you create a minimal project that reproduces the problem? It seems like something in the request/response cycle (middleware maybe?) is effectively logging you out on each request. On Monday, February 13, 2017 at 5:07:09 PM UTC-5, Abdul Wahid wrote: > > Hi Everyone, > > Since last two nights,

Django Admin keeps redirecting to login page repeatedly

2017-02-13 Thread Abdul Wahid
Hi Everyone, Since last two nights, I am struggling a lot to resolve the issue as my Django admin section keeps redirecting to login page repeatedly. I had tried every corner solution to resolve the issue, but failed to resolve it. Finally I am writing here in some hope that someone who alread