Error in Django login page in pyhton

url (r"^ login/$",login, {"template_name":" user/login.html"}, name="login"),
TypeError: login () got an unexpected keyword argument "template_name", I used python3.7 and Django2.0, at the beginning, but django2.0 does not support the login () function, so I changed the Django version to version 1.10 in the virtual environment, but the above error occurred, how to solve

Apr.29,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-49af2dd-1c884.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-49af2dd-1c884.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?