Skip to content

Commit

Permalink
Cleanup old auth bits.
Browse files Browse the repository at this point in the history
  • Loading branch information
chintal committed Jan 15, 2016
1 parent 00b93d8 commit 9a5cc3a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 107 deletions.
Binary file modified doc/_static/tendril.utils.db.metadata.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 0 additions & 19 deletions tendril/frontend/app.py
Expand Up @@ -21,26 +21,7 @@
"""

from flask import Flask
from flask_sqlalchemy import SQLAlchemy


# This is the WSGI compliant web application object
app = Flask(__name__)


# This is an SQLAlchemy ORM object.
#
# For the moment it points to a separate DB holding only app specific
# information, i.e., access control mechanisms only. The fundamental
# difference between this db instance and the one provided by utils.db
# is that this relies on Flask-SQLAlchemy provided db.Model and it's
# session management. The app should filter and do whatever it needs
# to based on the app DB and then pass whatever information is necessary
# to the underlying core via traditional function calls.
#
# This should be revisited at some point to reintegrate the DBs, either
# by switching to the correct Base within the Flask-SQLAlchemy (and
# sorting out the consequences to session management, as well as ensuring
# that the Base is compatible with what Flask plugins expect), or
# rewriting the Flask plugins to work with the vanilla Base.
# db = SQLAlchemy(app)
88 changes: 0 additions & 88 deletions tendril/frontend/startup/reset_db.py

This file was deleted.

0 comments on commit 9a5cc3a

Please sign in to comment.