This one "{% static "...." %}" is MUCH better than {{STATIC_URL }}.
It is recommended way. 

You almost never need to use {{STATIC_URL }}.


On Friday, March 20, 2015 at 3:59:08 AM UTC+3, Fellipe Henrique wrote:
>
> Hi,
>
> In my template, when I made a reference to my Static folder.. what's the 
> correct usage?
>
> {{STATIC_URL }} or {% static "...." %} 
>
> Django 1.7 and Python 3
>
> Thanks!
>
> T.·.F.·.A.·.     S+F
> *Fellipe Henrique P. Soares*
>
> e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 
> 's/(.)/chr(ord($1)-2*3)/ge'
> *Blog: http://fhbash.wordpress.com/ <http://fhbash.wordpress.com/>*
> *GitHub: https://github.com/fellipeh <https://github.com/fellipeh>*
> *Twitter: @fh_bash*
>  

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/06ea6d9c-a224-49c9-93b5-4733ceab5111%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to