☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes
⭐Top resource to learn Python - https://datacamp.pxf.io/kOjKkV ⭐
In this video, we'll look at Whitenoise for working with Static Assets in a Django app. We'll see how the built-in static file serving works, and will look at the features added by the CompressedManifestStaticFilesStorage storage class from Whitenoise.
📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro to Whitenoise
02:10 Installing Whitenoise
04:27 Configuring Whitenoise
08:37 Disabling static asset serving with Django
09:29 Whitenoise runserver_nostatic app
10:32 Whitenoise CompressedManifestStaticFilesStorage class
14:36 Whitenoise settings
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://bugbytes.io/posts/
👾 Github: https://github.com/bugbytes-io/
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Whitenoise docs: https://whitenoise.readthedocs.io/en/...
Django staticfiles app: https://docs.djangoproject.com/en/5.1...
Django staticfiles app runserver command: https://docs.djangoproject.com/en/5.1...
#python #django #webdevelopment