[x] Inside the website app, create a directory for static files:
mkdir website/static
Move the precreated css, js, img, and lib folders into the website/static/website folder so that they are organized as website/static/website/css, website/static/website/js, etc.
Django Settings Configuration:
[x] Open main/settings.py and set up Django to recognize the static files:
Static Files Directory:
Move the precreated
css
,js
,img
, andlib
folders into thewebsite/static/website
folder so that they are organized aswebsite/static/website/css
,website/static/website/js
, etc.Django Settings Configuration:
main/settings.py
and set up Django to recognize the static files: