Home > other >  Django email error
Django email error

Time:11-16

Traceback (the most recent call last) :
The File "D: \ Python3 \ py3 \ lib \ site - packages, django, core, handlers \ exception py", line 47, in inner
The response=get_response (request)
The File "D: \ Python3 \ py3 \ lib \ site - packages, django, core, handlers \ base py", line 179, in _get_response
Callback_args response=wrapped_callback (request, * and * * callback_kwargs)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ views \ generic \ base py", line 70, in the view
Return the self. Dispatch (request, * args, * * kwargs)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ views \ generic \ base py", line 98, dispatch in
Return handler (request, * args, * * kwargs)
The File "E: \ Python advanced, fresh every day, the user \ views. Py", line 122, in the get
The user. The save ()
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ contrib \ auth \ base_user py", line 67, in the save
Super (). The save (* args, * * kwargs)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ base py", line 754, in the save
Force_update=force_update, update_fields=update_fields)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ base py", line 792, in save_base
Force_update, using update_fields,
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ base py", line 873, in _save_table
Forced_update)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ base py", line 926, in _do_update
Return filtered. _update (values) & gt; 0
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ query py", line 803, in _update
Return the query. Get_compiler (self. Db). Execute_sql (CURSOR)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ SQL \ compiler py", line 1522, in execute_sql
Cursor=super (). Execute_sql (result_type)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ SQL \ compiler py", line 1143, in execute_sql
SQL, params=self. As_sql ()
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ SQL \ compiler py", line 1488, in as_sql
Val=field. Get_db_prep_save (val, connection=self. The connection)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ fields \ set py", line 823, in get_db_prep_save
Return the self. Get_db_prep_value (value, connection=connection, prepared=False)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ fields \ set py", line 818, in get_db_prep_value
Value=https://bbs.csdn.net/topics/self.get_prep_value (value)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ fields \ set py", line 967, in get_prep_value
Return the self. To_python (value)
The File "D: \ Python3 \ py3 \ lib \ site - packages \ django \ db \ models \ fields \ set py", line 960, in to_python
Params={' value: the value},
Django. Core. Exceptions. ValidationError: [' "0000-00-00 00:00:00. 000000" of the value should be to True or False ']
15/Nov/2020 19:45:26 "GET/user/active/eyJhbGciOiJIUzUxMiIsImlhdCI6MTYwNTQ0MDY3MSwiZXhwIjoxNjA1NDQ0MjcxfQ eyJjb25maXJtIjoyM30. XO9VdIQfBTs - 3 zgljgpymsmfunqhjh6b0qrvlirg - VSq75wBxm_MSE - hF0gQoADCqShiqEItgoIMDR4zHrwXRw HTTP/1.1", 500, 141253



Email can be normal to send, but send the E-mail link the mistakes, as long as access will the newspaper django's version is 3.11
  • Related