To use any context processor, you need to add the function signature name to
your TEMPLATES[0]["OPTIONS"]["CONTEXT_PROCESSORS"]
- site_name:
site_name relies on
django.contrib.sites
, so add it to yourINSTALLED_APPS
on yoursettings.py
Also read the official documentation