diff --git a/.vscode/settings.json b/.vscode/settings.json index fe800d2..e13f020 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "python.pythonPath": "C:\\Python39\\python.exe" + "python.pythonPath": "C:\\Users\\bncha\\AppData\\Local\\Programs\\Python\\Python38-32\\python.exe" } \ No newline at end of file diff --git a/auctions/static/auctions/styles.css b/auctions/static/auctions/styles.css deleted file mode 100644 index d61a8dd..0000000 --- a/auctions/static/auctions/styles.css +++ /dev/null @@ -1,3 +0,0 @@ -body { - padding: 10px; -} diff --git a/auctions/templates/auctions/layout.html b/auctions/templates/auctions/layout.html index d0e3096..2eb3304 100644 --- a/auctions/templates/auctions/layout.html +++ b/auctions/templates/auctions/layout.html @@ -5,9 +5,9 @@ {% block title %}Auctions{% endblock %} - + - +

Auctions

{% if user.is_authenticated %} diff --git a/auctions/templates/auctions/watchlist.html b/auctions/templates/auctions/watchlist.html index 18b77b2..1e0a146 100644 --- a/auctions/templates/auctions/watchlist.html +++ b/auctions/templates/auctions/watchlist.html @@ -9,7 +9,7 @@
- Preview not found + Preview not found
diff --git a/commerce/__pycache__/settings.cpython-39.pyc b/commerce/__pycache__/settings.cpython-39.pyc index 4fc5705..a4392d5 100644 Binary files a/commerce/__pycache__/settings.cpython-39.pyc and b/commerce/__pycache__/settings.cpython-39.pyc differ diff --git a/commerce/settings.py b/commerce/settings.py index 3f7f898..9ec4faa 100644 --- a/commerce/settings.py +++ b/commerce/settings.py @@ -129,4 +129,9 @@ STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'auctions/static'), ] - +STATICFILES_STORAGE = 'storages.backends.azure_storage.AzureStorage' +STATIC_LOCATION = "static" +DEFAULT_FILE_STORAGE = 'storages.backends.azure_storage.AzureStorage' +AZURE_ACCOUNT_NAME = 'auctionimages' +AZURE_ACCOUNT_KEY = '3W/fel22r8ExgQMDr8KOxxklp80/slPtAznb+G1Hkq0DWuX2bOIXnQMpgmU/BIJdIWnbDsgMr2SbC5l9qfJJ6g==' +AZURE_CONTAINER = 'media' \ No newline at end of file diff --git a/db.sqlite3 b/db.sqlite3 index 742dc9a..8a083f6 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ