Wednesday, December 19, 2018

Re: Manage static files using Jinja2

Yes static files need a url path. But that path should be mentioned in setting.py file. That makes django, when there is use of css or js files it refers to that path

On Tue 11 Dec, 2018 4:32 am <miguel.yurivilca@utec.edu.pe wrote:
I am using the documentation to learn Django. When I started creating static files, I started to get problems. I am using this: https://docs.djangoproject.com/en/2.1/howto/static-files/ but I think it is using Django template engine. How can I fix this problem?

Does every static file needs a url?

Thank you.

La información contenida en este e-mail y sus anexos es confidencial, privilegiada y está dirigida exclusivamente a su destinatario, en consecuencia, solo puede ser utilizada por aquel. Si usted no es el destinatario original, no deberá examinar, usar, copiar o distribuir este mensaje o la información que contiene. Si lo recibe por error, por favor reenvíelo a la persona que se lo envió y elimínelo. Cualquier retención o uso total o parcial no autorizada de este mensaje está estrictamente prohibida y sancionada por ley.

--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/48ff25dd-f227-4984-82f4-26dc0c60e948%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMsYeuFo_%3DtA6k8kdRzt_ABQnDXsph-f3NCaQGoXAvUEjHCzYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment