Spaces:
Sleeping
Sleeping
Update Menu_page.py
Browse files- Menu_page.py +2 -1
Menu_page.py
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
from flask import Blueprint, render_template, request, redirect, url_for, session
|
2 |
-
from app import sf
|
3 |
|
4 |
|
5 |
# Create a Blueprint for the menu page
|
6 |
menu_page = Blueprint('menu_page', __name__)
|
|
|
7 |
|
8 |
|
9 |
@menu_page.route("/menu", methods=["GET", "POST"])
|
|
|
1 |
from flask import Blueprint, render_template, request, redirect, url_for, session
|
2 |
+
from app import sf # Import sf from app.py where the Salesforce connection is initialized
|
3 |
|
4 |
|
5 |
# Create a Blueprint for the menu page
|
6 |
menu_page = Blueprint('menu_page', __name__)
|
7 |
+
print("Menu page is connected")
|
8 |
|
9 |
|
10 |
@menu_page.route("/menu", methods=["GET", "POST"])
|