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_APPSon yoursettings.pyAlso read the official documentation