Skip to content

Commit 7e5d6ba

Browse files
author
App Generator
committed
v1.0.3-rc1 - Bump Codebase v1.0.5
- Flask Dashboard: v1.0.5 - Freeze SqlAlchemy 2.4.4
1 parent 75479be commit 7e5d6ba

File tree

5 files changed

+19
-18
lines changed

5 files changed

+19
-18
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [1.0.3] 2021-03-18
4+
### Improvements
5+
6+
- Bump Codebase: [Flask Dashboard](https://github.com/app-generator/boilerplate-code-flask-dashboard) v1.0.5
7+
- Freeze used versions in `requirements.txt`
8+
- flask_sqlalchemy = 2.4.4
9+
- sqlalchemy = 1.3.23
10+
311
## [1.0.2] 2021-01-13
412
### Patch bad migration
513

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Black Dashboard is a beautiful Bootstrap 4 Admin Dashboard with a huge number of
99
> Features
1010
1111
- DBMS: SQLite, PostgreSQL (production)
12-
- DB Tools: SQLAlchemy ORM, Alembic (schema migrations)
12+
- DB Tools: SQLAlchemy ORM, Flask-Migrate (schema migrations)
1313
- Modular design with **Blueprints**, simple codebase
1414
- Session-Based authentication (via **flask_login**), Forms validation
1515
- Deployment scripts: Docker, Gunicorn / Nginx, Heroku

app/base/routes.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,6 @@ def logout():
9393
logout_user()
9494
return redirect(url_for('base_blueprint.login'))
9595

96-
@blueprint.route('/shutdown')
97-
def shutdown():
98-
func = request.environ.get('werkzeug.server.shutdown')
99-
if func is None:
100-
raise RuntimeError('Not running with the Werkzeug Server')
101-
func()
102-
return 'Server shutting down...'
103-
10496
## Errors
10597

10698
@login_manager.unauthorized_handler

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "flask-black-dashboard",
33
"mastertemplate": "boilerplate-code-flask-dashboard",
4-
"version": "1.0.1",
4+
"version": "1.0.3",
55
"description": "Template project - Flask Boilerplate Code",
66
"repository": {
77
"type": "git",

requirements.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
flask
2-
flask_login
3-
flask_migrate
4-
flask_wtf
5-
flask_sqlalchemy==2.*
6-
email_validator
7-
python-decouple
8-
gunicorn
1+
flask==1.1.2
2+
flask_login==0.5.0
3+
flask_migrate==2.7.0
4+
flask_wtf==0.14.3
5+
flask_sqlalchemy==2.4.4
6+
sqlalchemy==1.3.23
7+
email_validator==1.1.2
8+
python-decouple==3.4
9+
gunicorn==20.0.4

0 commit comments

Comments
 (0)