I am looking to include a CSS file in the header of my documents, but I have a couple of questions: 1. Where should I specify the path to the media, and should it be a relative or absolute path? In settings.py, I've attempted to set MEDIA_URL, but my style is still not showing up. 2. How can I ensure that all HTML files inherit this style without adding the href link to every page?
I have tried writing the following:
<link href="/media/default.css" rel="stylesheet" type="text/css" />
And I have set
MEDIA_URL = '/media/'
However, it isn't working. The 'media' folder is located inside my project.
Should I also set the Media Root? How should I do this? Thank you