In the admin interface, I can see how I can specify the name of the site. But I can't find the documentation for how to use it in my templates.
I faced a similar problem and found the solution answered in this post: How to display the site's user friendly name in a template in Django?
Basically, in my settings.py, I had to add 'django.core.context_processors.request',
to my TEMPLATES -> OPTTIONS -> context_processors. Then you can access the site name in the template with {{ request.site.name }}
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With