Top "Django-authentication" questions

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

Django login redirect not working?

I go to my webpage http://localhost:8000/listings/post/, it fails the test @user_passes_test(lambda u: u.is_…

django django-authentication
Multiple USERNAME_FIELD in django user model

My custom user model: class MyUser(AbstractBaseUser): username = models.CharField(unique=True,max_length=30) email = models.EmailField(unique=True,max_…

django django-authentication django-users
How can I set a minimum password length when using the built-in Django auth module?

I’m implementing authentication in a Django site using the built-in auth module, including the built-in UserCreationForm. I’d like …

django django-authentication
How to manually authenticate after get django user?

Im writing a facebook-connect app that login user after authenticate session on facebook, question is how can i authenticate user …

django django-authentication
How to achieve authentication with django-auth-ldap?

I have an app running using django. Now i want only users that are authenticated via an openldap server to …

django ldap django-authentication openldap django-auth-ldap
How to access user names and profiles with django-allauth

I'm using Django with django-allauth for social authentication. I have authentication up and running, but can anyone give simple examples …

python django oauth django-authentication
How can make Django permission_required decorator not to redirect already logged-in users to login page, but display some message

How can make Django permission_required decorator not to redirect already logged-in users to login page, but display some message …

django decorator django-authentication
Adding extra_context in Django logout built-in view

In django/contrib/auth/views.py there is the definition of the logout view : def logout(request, next_page=None, …

django django-views logout django-authentication
Django AUTHENTICATION_BACKENDS import error

What is the proper way to import a custom backend in settings.py? I currently have the following in settings.…

python django django-authentication django-settings
(Django) Sharing authentication across two sites that are on different domains

I have two sites say foo.com and bar.com and are both Django based. Primary registration occurs on foo.…

django django-authentication