Spaces:
Sleeping
Sleeping
Update app.py (#2)
Browse files- Update app.py (6092c73868e3c7776997ee893b068fcde06bb6f4)
Co-authored-by: Rammohan <[email protected]>
app.py
CHANGED
@@ -8,6 +8,7 @@ from email.mime.text import MIMEText
|
|
8 |
from menu import menu_blueprint # Make sure this import is correct
|
9 |
from cart import cart_blueprint # Same for other blueprints
|
10 |
from order import order_blueprint # Same for user blueprint
|
|
|
11 |
from user_details import user_details_blueprint
|
12 |
from datetime import datetime
|
13 |
from datetime import datetime
|
@@ -38,6 +39,8 @@ app.register_blueprint(cart_blueprint, url_prefix='/cart')
|
|
38 |
app.register_blueprint(user_details_blueprint, url_prefix='/user')
|
39 |
app.register_blueprint(menu_blueprint)
|
40 |
app.register_blueprint(order_blueprint)
|
|
|
|
|
41 |
|
42 |
|
43 |
@app.route("/")
|
|
|
8 |
from menu import menu_blueprint # Make sure this import is correct
|
9 |
from cart import cart_blueprint # Same for other blueprints
|
10 |
from order import order_blueprint # Same for user blueprint
|
11 |
+
from orderhistory import orderhistory_blueprint
|
12 |
from user_details import user_details_blueprint
|
13 |
from datetime import datetime
|
14 |
from datetime import datetime
|
|
|
39 |
app.register_blueprint(user_details_blueprint, url_prefix='/user')
|
40 |
app.register_blueprint(menu_blueprint)
|
41 |
app.register_blueprint(order_blueprint)
|
42 |
+
app.register_blueprint(orderhistory_blueprint, url_prefix='/orderhistory')
|
43 |
+
|
44 |
|
45 |
|
46 |
@app.route("/")
|