In the top of the template, add percent load static percent.
Replace the link with the percent static percent template tag.
To avoid loading several things from the same server, static resources like images, CSS, and JS files are frequently loaded via a distinct app on production webpages.
You can serve static files using Django's development server if you have DEBUG set to TRUE and are using the staticfiles app during development. The collecstatic command isn't even required.
Django looks for all static files in your apps and gathers them where you told it to, i.e. the STATIC ROOT, using the collectstatic command. In our situation, we're telling Django to collect all static files into a folder called staticfiles in our project root directory when we run python manage.py collectstatic.
Django templates are text documents or Python strings that have been marked up with the Django template language. The template engine recognises and interprets some constructs. Variables and tags are the most important. A context is used to render a template.
where will i get code access for the project source code?
this course structure is very good. I suggest for learning to this website.
Superb and amazing 😍🤩 enjoyable experience.
Er Komal Gupta
thnku so much sir. after waisting so mch time in boring videos.i learned only from here.explained vry well and i will suggest evryone that learnvern is the bst online plateform where you can learnalot
ajax lesson was something like boring . But , learned a lot with the sunit sir . Just learned how to deal with ajax in django