Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated flask imports to new style

  • Loading branch information...
commit 8ab5f834e32e03c324d6f29270e39b049caa2abf 1 parent 97f069d
@BruceJillis BruceJillis authored
Showing with 7 additions and 6 deletions.
  1. +1 −0  .gitignore
  2. +3 −3 flamejam/__init__.py
  3. +3 −3 flamejam/forms.py
View
1  .gitignore
@@ -5,3 +5,4 @@ flamejam.db
*.swp
flamejam.cfg
recaptcha.cfg
+.DS_Store
View
6 flamejam/__init__.py
@@ -1,8 +1,8 @@
from flask import Flask
from datetime import *
-from flaskext.mail import Mail
-from flaskext.sqlalchemy import SQLAlchemy
-from flaskext.markdown import Markdown
+from flask.ext.mail import Mail
+from flask.ext.sqlalchemy import SQLAlchemy
+from flask.ext.markdown import Markdown
app = Flask(__name__)
mail = Mail(app)
View
6 flamejam/forms.py
@@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
-from flaskext.wtf import BaseForm, Form, TextField, TextAreaField, PasswordField,\
+from flask.ext.wtf import Form, TextField, TextAreaField, PasswordField,\
DateTimeField, SubmitField, SelectField, HiddenField, BooleanField, RecaptchaField
-from flaskext.wtf import Required, Length, EqualTo, Optional, NumberRange, Email,\
+from flask.ext.wtf import Required, Length, EqualTo, Optional, NumberRange, Email,\
ValidationError, URL
-from flaskext.wtf.html5 import IntegerField, EmailField
+from flask.ext.wtf.html5 import IntegerField, EmailField
import re
from hashlib import sha512
from flamejam import app, models
Please sign in to comment.
Something went wrong with that request. Please try again.