diff --git a/app4/app4.py b/app.py similarity index 100% rename from app4/app4.py rename to app.py diff --git a/app4/SQL.py b/app4/SQL.py index 438a98f031b4ccca9a8a009706ab930ed56bd192..4494d0a2905c86d1bb917fd0d6954d6ccf79cdd0 100644 --- a/app4/SQL.py +++ b/app4/SQL.py @@ -1,4 +1,4 @@ -from app4 import app, db, Products +from app import app, db, Products products = [ {"name": "King Kai Havertzđź‘‘", diff --git a/app4/basketSQL.PY.py b/app4/basketSQL.PY.py index 73f1b3722bc227056d7232d69a90bb76f263ab3e..a1b25023994706de90884b5841073c950b81aed8 100644 --- a/app4/basketSQL.PY.py +++ b/app4/basketSQL.PY.py @@ -1,5 +1,4 @@ -from app4 import app, db, Products -from sqlalchemy import text +from app import app, Products with app.app_context(): # Fetch all products diff --git a/app4/backupDb/backup.sqlite3 b/backupDb/backup.sqlite3 similarity index 100% rename from app4/backupDb/backup.sqlite3 rename to backupDb/backup.sqlite3 diff --git a/bored.zip b/bored.zip deleted file mode 100644 index 62efa4ea6be45d2e0d75780761b3bae34408246e..0000000000000000000000000000000000000000 Binary files a/bored.zip and /dev/null differ diff --git a/instance/data.sqlite3 b/instance/data.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..04829cb14c8c3c4572b3763eec2e26ff9dfc3e69 Binary files /dev/null and b/instance/data.sqlite3 differ diff --git a/app4/static/Kai-Havertz.jpg b/static/Kai-Havertz.jpg similarity index 100% rename from app4/static/Kai-Havertz.jpg rename to static/Kai-Havertz.jpg diff --git a/app4/static/baboon.jpg b/static/baboon.jpg similarity index 100% rename from app4/static/baboon.jpg rename to static/baboon.jpg diff --git a/app4/static/cockroach.jpg b/static/cockroach.jpg similarity index 100% rename from app4/static/cockroach.jpg rename to static/cockroach.jpg diff --git a/app4/static/empty.jpg b/static/empty.jpg similarity index 100% rename from app4/static/empty.jpg rename to static/empty.jpg diff --git a/app4/static/emptyBasket.js b/static/emptyBasket.js similarity index 100% rename from app4/static/emptyBasket.js rename to static/emptyBasket.js diff --git a/app4/static/ewe.jpg b/static/ewe.jpg similarity index 100% rename from app4/static/ewe.jpg rename to static/ewe.jpg diff --git a/app4/static/javascript.js b/static/javascript.js similarity index 100% rename from app4/static/javascript.js rename to static/javascript.js diff --git a/app4/static/martin.jpg b/static/martin.jpg similarity index 100% rename from app4/static/martin.jpg rename to static/martin.jpg diff --git a/app4/static/style.css b/static/style.css similarity index 100% rename from app4/static/style.css rename to static/style.css diff --git a/app4/templates/Basket.html b/templates/Basket.html similarity index 100% rename from app4/templates/Basket.html rename to templates/Basket.html diff --git a/app4/templates/SingleTech.html b/templates/SingleTech.html similarity index 100% rename from app4/templates/SingleTech.html rename to templates/SingleTech.html diff --git a/app4/templates/SingleTechOpinion.html b/templates/SingleTechOpinion.html similarity index 100% rename from app4/templates/SingleTechOpinion.html rename to templates/SingleTechOpinion.html diff --git a/app4/templates/base.html b/templates/base.html similarity index 100% rename from app4/templates/base.html rename to templates/base.html diff --git a/app4/templates/checkout.html b/templates/checkout.html similarity index 100% rename from app4/templates/checkout.html rename to templates/checkout.html diff --git a/app4/templates/index.html b/templates/index.html similarity index 100% rename from app4/templates/index.html rename to templates/index.html diff --git a/app4/templates/receipt.html b/templates/receipt.html similarity index 100% rename from app4/templates/receipt.html rename to templates/receipt.html diff --git a/app4/templates/sorting.html b/templates/sorting.html similarity index 100% rename from app4/templates/sorting.html rename to templates/sorting.html