Skip to content

Instantly share code, notes, and snippets.

Avatar

Divya Anand Sinha harsh244

  • Graduate Student UC Irvine
  • Irvine
View GitHub Profile
@harsh244
harsh244 / app.py
Created Dec 22, 2017 — forked from rosner/app.py
Simple flask app with user login, registration based on twitters bootstrap
View app.py
from flask import Flask, render_template
from flask.ext.security import SQLAlchemyUserDatastore, Security
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.bootstrap import Bootstrap
from flask_mail import Mail
from flask.ext.security import UserMixin, RoleMixin
app = Flask(__name__)