Changes between Initial Version and Version 1 of Python Flask Gotchas Import Database Module Fails
- Timestamp:
- 07/21/16 09:06:31 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python Flask Gotchas Import Database Module Fails
v1 v1 1 = Python Flask Gotchas Import Database Module Fails 2 3 Tags: [[Python Flask]] [[Gotchas_Category]] 4 5 == Problem 6 7 It fails with a `cannot access database` error in the log when it processes the first request after restarting Apache, but subsequent requests cause an `database module not found` error. 8 9 == Solution 10 11 This could actually be an error that the application does not have access to the database. 12 [[BackLinks]]