Re: Redirect from own login to admin login func of Django

2020-10-09 Thread Adam Johnson
*Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely

Redirect from own login to admin login func of Django

2020-10-07 Thread ltduy2...@gmail.com
Hi, I have own login site to authenticate user, it will redirect to admin site if these users is supper user. I try to use HttpResponseRedirect func but it don't send POST request and POST method to login func to render Django Administrator page. Can you help me please. Thanks and Best regar