Skip to content

Commit

Permalink
adding in landing page changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sara committed Nov 17, 2017
1 parent 2512697 commit 10e6558
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions app/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from flask_sqlalchemy import SQLAlchemy

from sqlalchemy.ext.automap import automap_base
from sqlalchemy.orm import Session
from sqlalchemy import create_engine

Base = automap_base()

engine = create_engine("mysql://sarastanway:96Ladybug@localhost:8080/PeerReview")

con = engine.connect()
#Base.prepare(engine, reflect=True)

#Students = Base.classes.students
#Reviews = Base.classes.reviews
#Taken = Base.classes.taken
#Skills = Base.classes.skills

#session = Session(engine)


0 comments on commit 10e6558

Please sign in to comment.