Top "Django-authentication" questions

django-authentication refers to the built-in auth module for authentication & authorization that can be extended.

How can I logout a user in Django?

Our Django deployment checks every night which active users can still be found in out LDAP directory. If they cannot …

python django django-authentication django-sessions
Change Django ModelChoiceField to show users' full names rather than usernames

I have a form in my Django app (not in admin) that allows staff members to select a user from …

python django django-forms django-authentication
Create user notification system in Django

I am adding a system to leave "notifications" for users that can be displayed the next time they log in. …

django-models django-authentication django-socialauth
How can I detect multiple logins into a Django web application from different locations?

I want to only allow one authenticated session at a time for an individual login in my Django application. So …

django django-authentication
What more do I need to do to have Django's @login_required decorator work?

I am trying to use Django's account system, including the @login_required decorator. My settings.py file includes django.contrib.…

python django django-authentication
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
How to enable https in Django-auth generated pages?

Using the Django-auth application (Django version 1.3), I want to have my login page go to https://mysite.com/login/. Currently, …

django https django-authentication
How to test login process?

I am developing a web application using Django 1.6 where I require users to log in using my login form. I …

django validation django-forms django-authentication django-testing
custom django-user object has no attribute 'has_module_perms'

My custom user model for login via email: class MyUser(AbstractBaseUser): id = models.AutoField(primary_key=True) # AutoField? is_superuser = …

django django-authentication django-users
django-registration: how do I check whether the user is logged in before displaying a page

I followed this page to set up a django registration site. It's pretty awesome, and registration and authentication are nicely …

django django-authentication django-registration