Skip to content

Instantly share code, notes, and snippets.

Juan Fernando Jaramillo Botero juanfe

Block or report user

Report or block juanfe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@juanfe
juanfe / README.rst
Created Apr 22, 2019 — forked from rduplain/README.rst
Demonstrate use of fixture with Flask-SQLAlchemy and Flask-Testing.
View README.rst

Demonstrate use of fixture with Flask-SQLAlchemy and Flask-Testing. February 13, 2011 Ron DuPlain <ron.duplain@gmail.com>

Post any feedback to: flask@librelist.org

Get this gist:

git clone git://gist.github.com/824472.git Flask-SQLAlchemy-Fixture
cd Flask-SQLAlchemy-Fixture
@juanfe
juanfe / flask.py
Created Jun 18, 2017 — forked from kageurufu/flask.py
Flask-WTF FieldLists with Dynamic Entries
View flask.py
from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.wtf import Form
from flask.ext.babel import gettext
from wtforms import SelectField, TelField, TextField, FormField, Fieldlist, SubmitField
from wtforms.validators import Optional, Required
app = Flask(__name__)
db = SQLAlchemy(app)
View getting-started-with-flask-login.md

Getting started with Flask-Login

Pre-requisites

  • Flask pip install flask
  • Flask-Login pip install flask-login

Steps

  • Create your user model class: User. This would be a class that stores information about your User. Essentially the user_name, user_id, email, etc.
You can’t perform that action at this time.