Forums

flask + creation/update of sqlite database

I'm working on PA and I'd like to be able to upload a schema.sql file, read the file and create/update the database.

I've attempted with existing code that works on other platforms but it must be a path issue. I've been using Dropbox to transfer/edit the code.

The boilerplate that PA offers works of course from my Dropbox but when I start to use my own code, it fails.

What exactly are you doing and what is the result? We'd love to help, but "it fails" isn't much to go on.