-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Python 3.8.5 * Pipenv * Flask na ultima versão 1.1.2 * Atualização de todas as libs * Compatibilização py3 e libs * remove create_env.sh * remove requirements.txt
- Loading branch information
Showing
16 changed files
with
537 additions
and
129 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"python.pythonPath": "/home/sergio/.virtualenvs/flask-app-template-b5GscEs_/bin/python" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[[source]] | ||
url = "https://pypi.python.org/simple" | ||
verify_ssl = true | ||
name = "pypi" | ||
|
||
[packages] | ||
flask = "*" | ||
flask-admin = "*" | ||
flask-bootstrap = "*" | ||
flask-cache = "*" | ||
flask-flatpages = "*" | ||
flask-gravatar = "*" | ||
flask-login = "*" | ||
flask-mail = "*" | ||
flask-pymongo = "*" | ||
flask-restless = "*" | ||
flask-sqlalchemy = "*" | ||
flask-themes = "*" | ||
flask-uploads = "*" | ||
flask-wtf = "*" | ||
|
||
[dev-packages] | ||
|
||
[requires] | ||
python_version = "3.8" |
Large diffs are not rendered by default.
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
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,18 +1,13 @@ | ||
# -*- encoding: utf-8 -*- | ||
""" | ||
Python Aplication Template | ||
Licence: GPLv3 | ||
""" | ||
from flask_wtf import FlaskForm | ||
from wtforms import TextField, TextAreaField, DateTimeField, PasswordField | ||
from wtforms.validators import Required | ||
|
||
from flask.ext.wtf import Form, TextField, TextAreaField, DateTimeField, PasswordField | ||
from flask.ext.wtf import Required | ||
|
||
class ExampleForm(Form): | ||
class ExampleForm(FlaskForm): | ||
title = TextField(u'Título', validators = [Required()]) | ||
content = TextAreaField(u'Conteúdo') | ||
date = DateTimeField(u'Data', format='%d/%m/%Y %H:%M') | ||
#recaptcha = RecaptchaField(u'Recaptcha') | ||
|
||
class LoginForm(Form): | ||
class LoginForm(FlaskForm): | ||
user = TextField(u'Usuário', validators = [Required()]) | ||
password = PasswordField(u'Senha', validators = [Required()]) |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.