Explorar o código

v1.0.3-rc1 - Bump Codebase v1.0.5

- Flask Dashboard: v1.0.5
- Freeze SqlAlchemy 2.4.4
App Generator %!s(int64=4) %!d(string=hai) anos
pai
achega
7e5d6ba83b
Modificáronse 5 ficheiros con 19 adicións e 18 borrados
  1. 8 0
      CHANGELOG.md
  2. 1 1
      README.md
  3. 0 8
      app/base/routes.py
  4. 1 1
      package.json
  5. 9 8
      requirements.txt

+ 8 - 0
CHANGELOG.md

@@ -1,5 +1,13 @@
 # Change Log
 
+## [1.0.3] 2021-03-18
+### Improvements
+
+- Bump Codebase: [Flask Dashboard](https://github.com/app-generator/boilerplate-code-flask-dashboard) v1.0.5
+- Freeze used versions in `requirements.txt`
+    - flask_sqlalchemy = 2.4.4
+    - sqlalchemy = 1.3.23
+
 ## [1.0.2] 2021-01-13
 ### Patch bad migration 
 

+ 1 - 1
README.md

@@ -9,7 +9,7 @@ Black Dashboard is a beautiful Bootstrap 4 Admin Dashboard with a huge number of
 > Features
 
 - DBMS: SQLite, PostgreSQL (production) 
-- DB Tools: SQLAlchemy ORM, Alembic (schema migrations)
+- DB Tools: SQLAlchemy ORM, Flask-Migrate (schema migrations)
 - Modular design with **Blueprints**, simple codebase
 - Session-Based authentication (via **flask_login**), Forms validation
 - Deployment scripts: Docker, Gunicorn / Nginx, Heroku

+ 0 - 8
app/base/routes.py

@@ -93,14 +93,6 @@ def logout():
     logout_user()
     return redirect(url_for('base_blueprint.login'))
 
-@blueprint.route('/shutdown')
-def shutdown():
-    func = request.environ.get('werkzeug.server.shutdown')
-    if func is None:
-        raise RuntimeError('Not running with the Werkzeug Server')
-    func()
-    return 'Server shutting down...'
-
 ## Errors
 
 @login_manager.unauthorized_handler

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
     "name": "flask-black-dashboard",
     "mastertemplate": "boilerplate-code-flask-dashboard",
-    "version": "1.0.1",
+    "version": "1.0.3",
     "description": "Template project - Flask Boilerplate Code",
     "repository": {
         "type": "git",

+ 9 - 8
requirements.txt

@@ -1,8 +1,9 @@
-flask
-flask_login
-flask_migrate
-flask_wtf
-flask_sqlalchemy==2.*
-email_validator
-python-decouple
-gunicorn
+flask==1.1.2
+flask_login==0.5.0
+flask_migrate==2.7.0
+flask_wtf==0.14.3
+flask_sqlalchemy==2.4.4
+sqlalchemy==1.3.23
+email_validator==1.1.2
+python-decouple==3.4
+gunicorn==20.0.4