1.settings.py 中设置了STATIC_URL,那么在views文件中,可不可以拿到这个值?如果可以,怎么拿?
ringa_lee
from django.conf import settings def foo(request): print settings.STATIC_URL
ringa_lee