You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the solution to the problem!
So this system will attempt to email the users as they register. It's failing to email users because your env_settings_example.py isn't correct.
The env_settings_example.py is setting the MAIL_SERVER variable like this:
MAIL_SERVER = 'MAIL_SERVER', 'smtp.gmail.com'
When python uses the above MAIL_SERVER variable, it is coming in as a Tuple data type. This is causing the TypeError @Hendeca mentions above. The socket.getaddrinfo() function requires a String for the 1st argument (the 1st argument is the host; See Here)
Try tweaking your env_settings so the mail server is in the format below. The variable should simply equal a string.
Have tried using the default
env_settings_example.py as well as using my own env_settings.py, but they all cannot register new users?
Have been able to sign in using default admin and user:
Test users:
But cannot create new user:
The text was updated successfully, but these errors were encountered: