load your static by putting space in between the percent and load and after static before percent eg. {% load static %}.
On Wed, Jun 30, 2021, 2:56 PM pritam bhutada <pritambhutada5@gmail.com wrote:
try ---> {% load staticfiles %}--On Wednesday, June 30, 2021 at 9:47:46 AM UTC+5:30 ujjwal...@gmail.com wrote: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 screenPlease 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/8ba41bbd-6a9e-4d79-936e-e9ff7ce53dafn%40googlegroups.com.
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/CAP%2BiQEaMoeOxuQdxwg-9y%3D4heq8XCBgdvv1AOM%3DYu7K8bzb8_w%40mail.gmail.com.
No comments:
Post a Comment