nagasurendra commited on
Commit
145b38f
·
verified ·
1 Parent(s): 7e61357

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ app.session_interface = SecureCookieSessionInterface()
37
  print("Session interface configured.")
38
  import random
39
  import string
40
-
41
  def generate_referral_code(length=8):
42
  # Generates a random referral code with uppercase, lowercase letters, and digits
43
  characters = string.ascii_letters + string.digits # A-Z, a-z, 0-9
@@ -493,7 +493,7 @@ def login():
493
  return render_template("login.html")
494
  # Register Blueprints for each functionality
495
  app.register_blueprint(menu_blueprint)
496
- app.register_blueprint(cart_blueprint, url_prefix='/cart') # Register the cart blueprint with URL prefix
497
 
498
  app.register_blueprint(order_blueprint)
499
 
 
37
  print("Session interface configured.")
38
  import random
39
  import string
40
+ app.register_blueprint(cart_blueprint, url_prefix='/cart')
41
  def generate_referral_code(length=8):
42
  # Generates a random referral code with uppercase, lowercase letters, and digits
43
  characters = string.ascii_letters + string.digits # A-Z, a-z, 0-9
 
493
  return render_template("login.html")
494
  # Register Blueprints for each functionality
495
  app.register_blueprint(menu_blueprint)
496
+ # Register the cart blueprint with URL prefix
497
 
498
  app.register_blueprint(order_blueprint)
499