You can do this already by changing where the login redirects to in your custom AdminSite class
def login(self, *args, **kwargs): response = super().login(*args, **kwargs) if isinstance(response, HttpResponseRedirect): response = HttpResponseRedirect("/custom-page/") return response On Wed, 23 Dec 2020 at 14:59, Gagan Deep <the.one.above.all.ti...@gmail.com> wrote: > Greetings of the day, > > I have use case where I want to show a custom landing page after a user > logs into the admin site. One way to do it will be to override the > index_template > attribute of AdminSite > <https://docs.djangoproject.com/en/3.1/ref/contrib/admin/#django.contrib.admin.AdminSite.index_template>, > but doing so will not let me use the index page generated by Django admin . > > I want to keep the index view intact while also providing a custom landing > page logged in users on Django's admin site. I think such feature will be > helpful for all users of Django. > > Best, > Gagan Deep > > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/c2774449-3a4d-45ad-99d1-0ef998154827n%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/c2774449-3a4d-45ad-99d1-0ef998154827n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Adam -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM24vKk%2BQv%2B9SMgR8K3RiLEsgNKEywHgMTcP5iFyAYBASw%40mail.gmail.com.