O Editar esta funcionando ok, mas fui tentar criar um novo jogo e me retorna um erro do qual não consigo solucionar:
File "/home/dvd_spo/flask/jogoteca/venv/lib/python3.10/site-packages/flask/app.py", line 1478, in __call__
return self.wsgi_app(environ, start_response)
File "/home/dvd_spo/flask/jogoteca/venv/lib/python3.10/site-packages/flask/app.py", line 1458, in wsgi_app
response = self.handle_exception(e)
File "/home/dvd_spo/flask/jogoteca/venv/lib/python3.10/site-packages/flask/app.py", line 1455, in wsgi_app
response = self.full_dispatch_request()
File "/home/dvd_spo/flask/jogoteca/venv/lib/python3.10/site-packages/flask/app.py", line 869, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/dvd_spo/flask/jogoteca/venv/lib/python3.10/site-packages/flask/app.py", line 867, in full_dispatch_request
rv = self.dispatch_request()
File "/home/dvd_spo/flask/jogoteca/venv/lib/python3.10/site-packages/flask/app.py", line 852, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/dvd_spo/flask/jogoteca/views.py", line 75, in criar
if not form.validade_on_submit():
AttributeError: 'FormularioJogo' object has no attribute 'validade_on_submit'