-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version v0.1 update framework version
update the framework version. Flask2.x Python3.x
- Loading branch information
Showing
22 changed files
with
77 additions
and
728 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -24,4 +24,4 @@ openid | |
|
||
env | ||
|
||
.idea/ | ||
.idea/ |
This file was deleted.
Oops, something went wrong.
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,3 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from app import create_app | ||
from .app import create_app |
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
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,20 +1,16 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from flask.ext.wtf import Form | ||
from flask.ext.wtf.html5 import URLField, EmailField, TelField | ||
from wtforms import (ValidationError, HiddenField, TextField, HiddenField, | ||
PasswordField, SubmitField, TextAreaField, IntegerField, RadioField, | ||
FileField, DecimalField) | ||
from wtforms.validators import (Required, Length, EqualTo, Email, NumberRange, | ||
from flask_wtf import FlaskForm | ||
from wtforms import ValidationError, HiddenField, StringField | ||
from wtforms.validators import (Length, EqualTo, Email, NumberRange, | ||
URL, AnyOf, Optional) | ||
from flask.ext.login import current_user | ||
from flask_login import current_user | ||
|
||
from ..user import User | ||
from ..utils import PASSWORD_LEN_MIN, PASSWORD_LEN_MAX, AGE_MIN, AGE_MAX, DEPOSIT_MIN, DEPOSIT_MAX | ||
from ..utils import allowed_file, ALLOWED_AVATAR_EXTENSIONS | ||
from ..utils import SEX_TYPE | ||
|
||
|
||
class RescuetimeForm(Form): | ||
key = TextField(u'key', [Length(max=64)]) | ||
class RescuetimeForm(FlaskForm): | ||
key = StringField(u'key', [Length(max=64)]) | ||
|
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
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,15 @@ | ||
flask | ||
requests | ||
flask-script | ||
flask-babel | ||
flask-login | ||
flask-mail | ||
flask-cache | ||
CairoSVG==2.5.2 | ||
celery==5.2.7 | ||
click==8.1.3 | ||
Flask==2.1.2 | ||
Flask-Cache==0.13.1 | ||
Flask-Login==0.6.1 | ||
Flask-Mail==0.9.1 | ||
Flask-OpenID==1.3.0 | ||
Flask-Script==2.0.6 | ||
Flask-SQLAlchemy==2.5.1 | ||
Flask-WTF==1.0.1 | ||
mysqlclient==2.1.0 | ||
Pillow==9.1.1 | ||
redis==4.3.3 | ||
requests==2.28.0 |
Oops, something went wrong.