diff options
Diffstat (limited to 'app/routes.py')
-rw-r--r-- | app/routes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/routes.py b/app/routes.py index 67b9359..301a8a8 100644 --- a/app/routes.py +++ b/app/routes.py @@ -23,7 +23,7 @@ from flask_sqlalchemy import SQLAlchemy from placeholder_posts import posts from placeholder_news import news -from placeholder_messages import messages +from placeholder_messages import conversations app = Flask(__name__) app.config['SECRET_KEY'] = 'Scooby_Lu,_where_are_you?' @@ -62,14 +62,14 @@ class Post(db.Model): @app.route("/home") def home(): """This is our homepage.""" - home_posts = posts + news + messages + home_posts = posts + news + conversations return render_template('home.html', posts=home_posts) @app.route("/yes") def yes(): """Another page, presenting the user with content marked as 'yes'.""" - return render_template("yes.html", messages=messages, news=news) + return render_template("yes.html", conversations=conversations, news=news) @app.route("/no") |