django的template中若是没法引用MEDIA_URL

配置以下django TEMPLATES = [spa 下面配置 'context_processors': [ 中添加 'django.core.context_processors.media', 会把MEDIA_URL 配置在template中  sso  这样在template下面 就能够引用MEDIA_URL了引用
相关文章
相关标签/搜索