This commit is contained in:
Matt Wright
2012-05-01 11:19:46 -04:00
parent ed7beb529a
commit 9b513ce4ab
3 changed files with 2 additions and 9 deletions
-3
View File
@@ -7,13 +7,10 @@ sys.path.pop(0)
sys.path.insert(0, os.getcwd())
from flask import Flask, render_template, current_app
from flask.ext.mongoengine import MongoEngine
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext.security import Security, LoginForm, login_required, \
roles_required, roles_accepted, UserMixin, RoleMixin
from flask.ext.security.datastore import SQLAlchemyUserDatastore, \
MongoEngineUserDatastore
+1 -4
View File
@@ -3,16 +3,13 @@
flask.ext.security.datastore
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This module contains an abstracted user datastore.
This module contains an user datastore classes.
:copyright: (c) 2012 by Matt Wright.
:license: MIT, see LICENSE for more details.
"""
from datetime import datetime
from flask import current_app
from flask.ext import security
+1 -2
View File
@@ -25,8 +25,7 @@ setup(
description='Simple security for Flask apps',
long_description=__doc__,
packages=[
'flask_security',
'flask_security.datastore'
'flask_security'
],
zip_safe=False,
include_package_data=True,