forked from nickjj/build-a-saas-app-with-flask
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update code base for Flask 1.0 and more
- Loading branch information
Showing
10 changed files
with
47 additions
and
35 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
COMPOSE_PROJECT_NAME=snakeeyes | ||
PYTHONUNBUFFERED=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
Flask==0.10.1 | ||
Flask==1.0.* | ||
|
||
# Application server for both development and production. | ||
gunicorn==19.4.5 | ||
gunicorn==19.8.* | ||
|
||
# Testing and static analysis. | ||
pytest==2.9.1 | ||
pytest-cov==2.2.1 | ||
flake8==2.5.4 | ||
|
||
# CLI. | ||
Click==6.4 | ||
pytest==3.5.* | ||
pytest-cov==2.5.* | ||
flake8==3.5.* | ||
|
||
# Data and workers. | ||
redis==2.10.5 | ||
celery==3.1.23 | ||
redis==2.10.* | ||
celery==4.1.* | ||
|
||
# Forms. | ||
Flask-WTF==0.9.5 | ||
WTForms-Components==0.9.7 | ||
Flask-WTF==0.14.* | ||
WTForms-Components==0.9.* | ||
|
||
# Extensions. | ||
flask-debugtoolbar==0.10.0 | ||
Flask-Mail==0.9.1 | ||
flask-debugtoolbar==0.10.* | ||
Flask-Mail==0.9.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from flask_debugtoolbar import DebugToolbarExtension | ||
from flask_mail import Mail | ||
from flask_wtf import CsrfProtect | ||
from flask_wtf import CSRFProtect | ||
|
||
debug_toolbar = DebugToolbarExtension() | ||
mail = Mail() | ||
csrf = CsrfProtect() | ||
csrf = CSRFProtect() |