-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure default user model #917
Comments
@brylie I'd like to start contributing to this project and want to start off with this issue. Could you elaborate on this: User model is configured as the project default |
Also nothing past the login page is developed yet right? Because after my local setup it sends me to /beta |
Isn't this what you're looking for
It is already present in settings.py @brylie |
Thanks for the clarification @shashankks0987. I'll assign you to this issue and close it since you did the research and found there wasn't any code needed. In any case, this should count as a code contribution even though you didn't need to change anything. So, the main task becomes to make sure we are using the correct user model in our login/register views #918 Would you consider contributing to issue #918 @shashankks0987? |
Alright, you can close this. #918 is already implemented I guess, Is there anything I can take up? |
@shashankks0987 try to reproduce/fix the bug report in #918. I think the register and login views are using the wrong user model. I have been able to reproduce the bug. |
@shashankks0987 would you be interested in refactoring our accounts code by moving from the |
With recent work on a custom user model, we may have forgotten to configure Django to use the custom user model as default when creating new users.
Make sure our
User
model is configured as the project default (in the base settings).OpenCiviWiki/project/accounts/models.py
Lines 5 to 11 in 374381b
The text was updated successfully, but these errors were encountered: