1/19/2024 0 Comments Unchecky host fileMsg = make_msgid(domain=DNS_NAME)įile “C:\Users\Dell\AppData\Local\Programs\Python\Python311\Lib\email\utils.py”, line 193, in make_msgid Return self.get_connection(fail_silently).send_messages() Response = view_func(request, *args, **kwargs)įile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\contrib\auth\views.py”, line 242, in dispatchįile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\views\generic\base.py”, line 143, in dispatchįile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\views\generic\edit.py”, line 153, in postįile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\contrib\auth\views.py”, line 255, in form_validįile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\contrib\auth\forms.py”, line 368, in saveįile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\contrib\auth\forms.py”, line 309, in send_mailįile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\core\mail\message.py”, line 298, in send Return self.dispatch(request, *args, **kwargs)įile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\utils\decorators.py”, line 46, in _wrapperįile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\utils\decorators.py”, line 134, in _wrapper_view Response = wrapped_callback(request, *callback_args, **callback_kwargs) The above exception was the direct cause of the following exception:įile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\core\handlers\exception.py”, line 55, in innerįile “D:\2023\Projekti\main\mainvenv\Lib\site-packages\django\core\handlers\base.py”, line 197, in _get_response Raise UnicodeError(“label empty or too long”) ![]() “GET /reset_password/ HTTP/1.1” 200 1151įile “C:\Users\Dell\AppData\Local\Programs\Python\Python311\Lib\encodings\idna.py”, line 163, in encode But when i visit a page to enter the email and click submit, i get the error UnicodeError at /reset_password/Įncoding with ‘idna’ codec failed (UnicodeError: label empty or too long) Path('password_reset_complete/', auth_view(template_name='accounts/password/password-reset-complete.html'), name='password_reset_complete'), # success message stating that our password was reset Path('reset///', auth_view(template_name='accounts/password/password-reset-confirm.html'), name='password_reset_confirm'), Path('password_reset_done/', auth_view(template_name='accounts/password/password-reset-done.html'), name='password_reset_done'), # success message stating the email was sent to click on the link ![]() Path('reset_password/', auth_view(template_name='accounts/password/password-reset-form.html'), name='reset_password'), ![]() ![]() # PASSWORD MANAGEMENT VIEWS # submit email form Here is the main urls.py (i have an accounts app, but i put the paths in this main urls file) password managementįrom import views as auth_views Anyhow, here i will post the problem for password reset, because i get the same error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |