I’m not sure if I’ve put the tag in the right place. I’ve tried putting it at the top of the page under {% load static %} but I get the same result - the html page shows no styles.
As far as I can tell, the syntax in your template looks correct to me. Can you confirm if your CSS file is loading in the browser or not?
If you open up the DevTools (View -> Developer -> Developer Tools if you’re using Chrome), then go to the network tab and reload your page, you should be able to see if the CSS file is loading properly. The response status code for a successful load is a 200. The response will be a 404 if it didn’t load.
If it’s not loading, there are a few things to check.
How are you running the application? With ./manage.py runserver or something else like gunicorn?
Are you running with DEBUG set to True or False?
When doing local development and DEBUG = True, the runserver command should be serving all static assets. If you have DEBUG = False, it won’t serve static assets from the individual Django apps.