Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Are databases added manually or automatically in Flask?

My code appears to be running fine but is not generating a database. Is this added by the developer? or automatically when the program runs? (Also tried running a later version and still getting same thing)

1 Answer

Hi Dean Vollebregt

When you run your Flask app a Sqlite database is created automatically. Can you post your code so the community can help you better.