Re: Ability to change LoginView inside custom AdminSite

2020-05-15 Thread Dipankar
Read documentation for customization. I hope you need to pass template parameter and form class. That's all. On Fri, May 15, 2020 at 7:44 PM Nikita Krokosh wrote: > Hello everyone. > > > There's a way to set your own AdminSite class as said in docs: > > >

Ability to change LoginView inside custom AdminSite

2020-05-15 Thread Nikita Krokosh
Hello everyone. There's a way to set your own AdminSite class as said in docs: https://docs.djangoproject.com/en/3.0/ref/contrib/admin/#overriding-the-default-admin-site But I also want to change login view behavior. I want to replace *LoginView* in