Question

données d'utilisateur non enregistré

Bonjour,

Tout d’abord merci pour ce tutoriel !

Quand je rentre des données d’utilisateur, j’ai une erreur de ce type :

sqlalchemy.exc.OperationalError sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: user [SQL: SELECT user.id AS user_id, user.email AS user_email, user.password AS user_password, user.name AS user_name FROM user WHERE user.email = ? LIMIT ? OFFSET ?] [parameters: (‘tommychel@hotmail.fr’, 1, 0)] (Background on this error at: http://sqlalche.me/e/13/e3q8)

Après plusieurs heures de recherche, je trouve toujours pas l’erreur et j’ai pourtant bien écrit comme dans le tuto, pouvez vous m’éclaircir à ce sujet ? En attendant je continue de chercher ^^


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

j’ai trouvé, il fallait que je relance dans le terminal l’interpréteur python puis :

from project import db, create_app db.create_all(app=create_app())