How to make a custom login() using Django login() method?

12 views
Skip to first unread message

Susan Tan

unread,
Mar 30, 2018, 5:05:18 PM3/30/18
to Django users
Hi Django Users,

This is my first-time post.

I want to return my own SusanTemplateResponse class in

https://github.com/django/django/blob/stable/1.10.x/django/contrib/auth/views.py#L98
instead of the default Django "TemplateResponse" that gets returned. What is a good way
to do that?

SusanTemplateResponse is my version of django.template.repsonseimport TemplateResponse.

I'm using Django 1.10.

Susan Tan
Reply all
Reply to author
Forward
0 new messages