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+unsubscribe@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.
No comments:
Post a Comment