HI 
check your main urls.py for something like this:

if settings.DEBUG:
    urlpatterns += patterns('',
        #(r'^media/(?P<path>.*)', 'django.views.static.serve', 
{'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
        (r'^static/(?P<path>.*)', 'django.views.static.serve', 
{'document_root': settings.STATIC_ROOT, 'show_indexes': True}),
    )

This allows static file serving from the runserver - only for local 
development!!

thanks
Frank
Am Freitag, 20. März 2015 01:59:08 UTC+1 schrieb Fellipe Henrique:
>
> 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/ebff8c7f-b839-40e1-89d9-2365c45520d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to