Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
get_start_flask
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ishan Patel
get_start_flask
Commits
ded781f5
Commit
ded781f5
authored
7 years ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
Added solution2 for FSADeprecationWarning
parent
ecb8e620
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-1
4 additions, 1 deletion
README.md
with
4 additions
and
1 deletion
README.md
+
4
−
1
View file @
ded781f5
...
@@ -129,7 +129,7 @@ $ flask run
...
@@ -129,7 +129,7 @@ $ flask run
Set it to True or False to suppress this warning.
Set it to True or False to suppress this warning.
```
```
**Solution:**
**Solution
1
:**
Set SQLALCHEMY_TRACK_MODIFICATIONS to **False/True** at line 789 in flask_sqlalchemy/\_\_init\_\_.py
Set SQLALCHEMY_TRACK_MODIFICATIONS to **False/True** at line 789 in flask_sqlalchemy/\_\_init\_\_.py
```python
```python
...
@@ -137,3 +137,6 @@ $ flask run
...
@@ -137,3 +137,6 @@ $ flask run
789 'SQLALCHEMY_TRACK_MODIFICATIONS', False
789 'SQLALCHEMY_TRACK_MODIFICATIONS', False
790 )
790 )
```
```
**Solution2(Preferred):**
Add `SQLALCHEMY_TRACK_MODIFICATIONS` in `config.py` ecb8e6209073941c6ba554b812496020b1c59982
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment