Top "Django-login" questions

django-login refers to django built-in auth system

Django - user permissions to certain views?

From the admin I see that you can allocate permissions to a user or a user group to :allow add, …

python django django-authentication django-permissions django-login
Log in user using either email address or username in Django

I am trying to create an auth backend to allow my users to log in using either their email address …

python django django-authentication django-login
Set all pages to require login, globally?

I want to redirect access of unauthenticated users to the login page, after which the logged-in user should be redirected …

django redirect django-login
NoReverseMatch while rendering: Reverse for ''django.contrib.auth.views.login''

I'm using Django's authentication, and in the login.html template, the following statement is generating an error: {% url 'django.contrib.…

django authentication django-authentication django-login
Django Logout Button

This may seem like a silly question but I can't find anything to help. How would you create a logout …

django django-forms django-admin django-views django-login
How to make override Django login

I want to override Django-login to make a custom login, but I can't find how. The reason is that there's …

python django csrf django-login
login() missing 1 required positional argument: 'user'

Here is my view, def login_view(request) : if request.method == 'POST': form = LoginForm(request.POST) if form.is_valid(): …

python django django-login django-custom-user
Can we use the login page at /admin in django for our own use?

Can I use the login page available at: /admin for non-staff users to login? I'm using the following settings in …

python django django-login