New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flaskr tutorial suggestion - Use DATABASE='flaskr' instead of DATABASE='/tmp/flaskr' #782
Comments
I think some absolute path for Windows is much more desirable. Not sure what it'd be though. |
/tmp/flask also works on windows if someone creates a folder called "tmp" on the C: drive. But maybe we should change that. |
Not to a relative path though, that's a bad idea since WSGI does not support relative paths. |
See #808 |
Even on OS X '/tmp/flaskr.db' wasn't working. Had to not only create the db file in my project folder but give the absolute path to it as well.. i.e. '/Users/username/path/to/db' |
Title says it all.
1..DATABASE='flaskr' works for windows and linux
2..DATABASE='/tmp/flaskr' only works for linux and probably OS10
The text was updated successfully, but these errors were encountered: