Hope you have this in the <head> section of your template.
<head> {% load static %} {% block head %} <title>{{luserdetails.luserrolename}} | Aspirations </title> {% endblock %} </head> From: django-users@googlegroups.com <django-users@googlegroups.com> On Behalf Of UJJWAL AGRAWAL Sent: 30 June 2021 09:47 To: django-users@googlegroups.com Subject: when i am writing {%load static%} rather than getting exectuted it is getting displayed as simple text on htmloutput screen Dear all I am facing one problem. When I am writing {%load static%} rather than getting executed it is getting displayed as simple text on the HTML output screen Please provide me the solution. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com> . To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALQ%3D5fyZPWiBGnY6VJB1_C6Rb1Ls4dfsGfTef%2BBSqi1BXKHtfw%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CALQ%3D5fyZPWiBGnY6VJB1_C6Rb1Ls4dfsGfTef%2BBSqi1BXKHtfw%40mail.gmail.com?utm_medium=email&utm_source=footer> . -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/003001d76d6f%246ab60470%2440220d50%24%40gmail.com.