Hello,
I would like to know if it’s possible to create his own login page (from scratch) without using any Django default login forms? And if it a good idea to do it like that.
Thanks in advance
Hello,
I would like to know if it’s possible to create his own login page (from scratch) without using any Django default login forms? And if it a good idea to do it like that.
Thanks in advance
Yes, this is possible. You could create your own form and use the authenticate
function in django.contrib.auth
. I’d recommend reading the Django authentication guide to learn more about the available options. https://docs.djangoproject.com/en/3.0/topics/auth/default/
Thank you @mblayman. In this case, is it possible to add more fileds like username, password, age and a “remember me” option?
Yes, there is nothing stopping a form from having those fields.
Ok. Thank you for your answere