Skip to content
Browse files

Update examples

The examples are being updated to reflect the public API changes in 3df71ab.
  • Loading branch information...
1 parent 3df71ab commit c7ec09f8adb523a3ec71df10f95079ff65d6eb48 @dirn committed
Showing with 2 additions and 4 deletions.
  1. +1 −2 examples/flask-login/login.py
  2. +1 −2 examples/flaskr/flaskr.py
View
3 examples/flask-login/login.py
@@ -1,8 +1,7 @@
from flask import Flask, redirect, render_template, request, url_for
from flask.ext.login import (AnonymousUser, LoginManager, UserMixin,
login_required, login_user, logout_user)
-from flask.ext.simon import Simon
-from simon import Model
+from flask.ext.simon import Simon, Model
app = Flask(__name__)
app.secret_key = 'Keep this value secret'
View
3 examples/flaskr/flaskr.py
@@ -1,7 +1,6 @@
from flask import (Flask, request, session, redirect, url_for, abort,
render_template, flash)
-from flask.ext.simon import Simon
-from simon import Model
+from flask.ext.simon import Simon, Model
app = Flask(__name__)

0 comments on commit c7ec09f

Please sign in to comment.
Something went wrong with that request. Please try again.