On Sun, Jun 14, 2020 at 19:38 Deborah <kusingude...@gmail.com> wrote:
> good evening > the tags that I use in the html file, appear on browsers when I launch the > server, what to do ??? > > -- > 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/fca60c53-040e-4f39-ab00-04bb61cc8444o%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/fca60c53-040e-4f39-ab00-04bb61cc8444o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > Here is the thing. In django, you should first make sure your HTML files are in their related app folders, and then load them via a view before using that view to construct a urlparttern as you’d like. Another thing I noticed is that the {% load static %} was after a line of code on your HTML file. This should always be the very first line here except you are extending a base HTML, then that comes first before you load static. -- KeLLs -- 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/CADYqDX1_qDg6mH3ZK730u885yEUbc54cBDb7iJaedXA36YWOGg%40mail.gmail.com.