Skip to content

Commit f772941

Browse files
author
App Generator
committed
Release v1.0.5 - Bump Codebase Version
1 parent c748910 commit f772941

File tree

5 files changed

+36
-25
lines changed

5 files changed

+36
-25
lines changed

CHANGELOG.md

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

3+
## [1.0.5] 2022-01-16
4+
### Improvements
5+
6+
- Bump Flask Codebase to [v2stable.0.1](https://github.com/app-generator/boilerplate-code-flask-dashboard/releases)
7+
- Dependencies update (all packages)
8+
- Flask==2.0.2 (latest stable version)
9+
- flask_wtf==1.0.0
10+
- jinja2==3.0.3
11+
- flask-restx==0.5.1
12+
- Forms Update:
13+
- Replace `TextField` (deprecated) with `StringField`
14+
315
## [1.0.4] 2021-11-08
416
### Improvements
517

README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,25 @@ Open-source **[Flask Dashboard](https://appseed.us/admin-dashboards/flask)** gen
66

77
> Features
88
9-
- Up-to-date [dependencies](./requirements.txt): **Flask 2.0.1**
9+
- `Up-to-date dependencies`
1010
- [SCSS compilation](#recompile-css) via **Gulp**
11-
- DBMS: SQLite, PostgreSQL (production)
12-
- DB Tools: SQLAlchemy ORM, Flask-Migrate (schema migrations)
13-
- Modular design with **Blueprints**, simple codebase
11+
- `DBMS`: SQLite, PostgreSQL (production)
12+
- `DB Tools`: SQLAlchemy ORM, Flask-Migrate (schema migrations)
1413
- Session-Based authentication (via **flask_login**), Forms validation
15-
- Deployment scripts: Docker, Gunicorn / Nginx, Heroku
16-
- Support via **Github** and [Discord](https://discord.gg/fZC6hup).
14+
- `Deployment`: **Docker**, Gunicorn / Nginx, HEROKU
15+
- Support via **Github** (issues tracker) and [Discord](https://discord.gg/fZC6hup).
1716

1817
<br />
1918

2019
> Links
2120
22-
- [Flask Dashboard Argon](https://appseed.us/admin-dashboards/flask-boilerplate-dashboard-argon) - product page
23-
- [Flask Dashboard Argon](https://flask-argon-dashboard.appseed-srv1.com) - LIVE Deployment
24-
- [Flask Dashboard Argon](https://docs.appseed.us/products/flask-dashboards/argon-dashboard) - product documentation
21+
- 👉 [Flask Dashboard Argon](https://appseed.us/admin-dashboards/flask-boilerplate-dashboard-argon) - product page
22+
- 👉 [Flask Dashboard Argon](https://flask-argon-dashboard.appseed-srv1.com) - LIVE Deployment
23+
- 👉 [Flask Dashboard Argon](https://docs.appseed.us/products/flask-dashboards/argon-dashboard) - product documentation
2524

2625
<br />
2726

28-
## Quick Start in [Docker](https://www.docker.com/)
27+
## Quick Start in `Docker`
2928

3029
> Get the code
3130
@@ -48,7 +47,7 @@ Visit `http://localhost:85` in your browser. The app should be up & running.
4847

4948
<br />
5049

51-
## How to use it
50+
## How to use it
5251

5352
```bash
5453
$ # Get the code
@@ -91,7 +90,7 @@ $ # Access the dashboard in browser: http://127.0.0.1:5000/
9190
9291
<br />
9392

94-
## Code-base structure
93+
## Code-base structure
9594

9695
The project is coded using blueprints, app factory pattern, dual configuration profile (development and production) and an intuitive structure presented bellow:
9796

@@ -164,7 +163,7 @@ The project is coded using blueprints, app factory pattern, dual configuration p
164163

165164
<br />
166165

167-
## Recompile CSS
166+
## Recompile CSS
168167

169168
To recompile SCSS files, follow this setup:
170169

@@ -288,7 +287,7 @@ Visit `http://localhost:8001` in your browser. The app should be up & running.
288287

289288
<br />
290289

291-
## Credits & Links
290+
## Credits & Links
292291

293292
- [Flask Framework](https://www.palletsprojects.com/p/flask/) - The offcial website
294293
- [Boilerplate Code](https://appseed.us/boilerplate-code) - Index provided by **AppSeed**

apps/authentication/forms.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"""
55

66
from flask_wtf import FlaskForm
7-
from wtforms import TextField, PasswordField
7+
from wtforms import StringField, PasswordField
88
from wtforms.validators import Email, DataRequired
99

1010
# login and registration
1111

1212

1313
class LoginForm(FlaskForm):
14-
username = TextField('Username',
14+
username = StringField('Username',
1515
id='username_login',
1616
validators=[DataRequired()])
1717
password = PasswordField('Password',
@@ -20,10 +20,10 @@ class LoginForm(FlaskForm):
2020

2121

2222
class CreateAccountForm(FlaskForm):
23-
username = TextField('Username',
23+
username = StringField('Username',
2424
id='username_create',
2525
validators=[DataRequired()])
26-
email = TextField('Email',
26+
email = StringField('Email',
2727
id='email_create',
2828
validators=[DataRequired(), Email()])
2929
password = PasswordField('Password',

package.json

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

requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
flask==2.0.1
1+
flask==2.0.2
22
flask_login==0.5.0
33
flask_migrate==3.1.0
4-
WTForms==2.3.3
5-
flask_wtf==0.15.1
4+
WTForms==3.0.1
5+
flask_wtf==1.0.0
66
flask_sqlalchemy==2.5.1
7-
sqlalchemy==1.4.23
7+
sqlalchemy==1.4.29
88
email_validator==1.1.3
9-
python-decouple==3.4
9+
python-decouple==3.5
1010
gunicorn==20.1.0
11-
jinja2==3.0.1
11+
jinja2==3.0.3
1212
flask-restx==0.5.1

0 commit comments

Comments
 (0)