diff --git a/.env b/.env new file mode 100644 index 0000000..817f4ab --- /dev/null +++ b/.env @@ -0,0 +1 @@ +YOUTUBE_API_KEY=AIzaSyBodFSevdvTVDkpxbrCR9M8r42ALVTax1E \ No newline at end of file diff --git a/assets/pasted-20251118-044256-eeb6184a.jpg b/assets/pasted-20251118-044256-eeb6184a.jpg new file mode 100644 index 0000000..5b9f7c9 Binary files /dev/null and b/assets/pasted-20251118-044256-eeb6184a.jpg differ diff --git a/assets/pasted-20251118-044502-e7a78f8a.jpg b/assets/pasted-20251118-044502-e7a78f8a.jpg new file mode 100644 index 0000000..5b9f7c9 Binary files /dev/null and b/assets/pasted-20251118-044502-e7a78f8a.jpg differ diff --git a/config/__pycache__/settings.cpython-311.pyc b/config/__pycache__/settings.cpython-311.pyc index 7e03fe1..3f87c77 100644 Binary files a/config/__pycache__/settings.cpython-311.pyc and b/config/__pycache__/settings.cpython-311.pyc differ diff --git a/config/settings.py b/config/settings.py index 261a5dc..8c6b714 100644 --- a/config/settings.py +++ b/config/settings.py @@ -15,9 +15,10 @@ import os from dotenv import load_dotenv BASE_DIR = Path(__file__).resolve().parent.parent -load_dotenv(BASE_DIR.parent / ".env") +load_dotenv(BASE_DIR / ".env") SECRET_KEY = os.getenv("DJANGO_SECRET_KEY", "change-me") +YOUTUBE_API_KEY = os.getenv("YOUTUBE_API_KEY", "") DEBUG = os.getenv("DJANGO_DEBUG", "true").lower() == "true" ALLOWED_HOSTS = [ diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index 71451a1..d587b41 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index c170026..c056baf 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/templates/base.html b/core/templates/base.html index 6794b64..aaa66aa 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -20,6 +20,6 @@