File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/app.py", line 1982, in wsgi_app
Open an interactive python shell in this frameresponse = self.full_dispatch_request()
File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/sergey/github/venv/lib/python3.5/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/sergey/github/flask_blog/app/views.py", line 58, in register
token = generate_confirmation_token(user.email)
AttributeError: 'function' object has no attribute 'email'
Ничего не изменилось.