I am using UserProfile to save some fields that I created. Its working fine. But I would like to create a new view to let 开发者_运维问答user change (update) theses fields values. But, theses values a
I\'m trying to implement single sign-on using only django auth. Let\'s assume two django projects, on different sub-domains: site.com(auth) and app1.site.com(app1)
In the system I am building user CAN NOT register them selves. The开发者_JAVA百科 users are added by one of the system admins. So there is no user registration form or view. The registration is only b
I am using django.contrib.auth and would like to redirect to the previous page after logging in. I would like something like the following: Django: Redirect to previous page after login except the red
I want to add a verify code field in the login form. So, I write a authentication_form which added a charField to generate a verify code and the verify code saved to the request.session.
I have a custom form... I\'d like to auto save the author (authenticated user) for the form data. I\'m using ModelForm for creating the form.
The password_reset page of my Django site is causing a DoesNotExist exception after an email address is entered and the button pressed.
I used django-registration app. Everything goes fine. User gets registered with email verification but when user logs in and is redirected to mainpage the auth template tags such as {% if user.is_auth
I\'m having a bit of trouble understanding how the new CBVs work. My question is this, I need to require login in all the views, and in some of them, specific permissions. In function-based views I do
In order to sign users in after registering them, I manually set the user.backend property.It normally works in my views.In this instance, I\'m trying to register the user via AJAX.It is raising an At