Hi , I have been working on Django for a few days and have been trying to implement a login page for the website similar to the login page of the admin interface.
I have created an auth.html which asks for a username and password and have given the necessary links in views.py and urls.py
I get the login page when I go to my RootURL but when I login , it just displays a blank page. I have set the form action in auth.html to RootURL/ABC but instead of loading RootURL/ABC, it loads a blank page.
I need the user to enter credentials if he wants to access the website , is there any other easy way to do this where I could configure the website to ask for credentials when I want to access it.
Thanks!