Django STATIC_URL is not working

后端 未结 5 816
渐次进展
渐次进展 2020-12-15 22:53

Django version is 1.4. I had read the official document, and googled my problem.

first I had followed the official document Managing static files added

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-15 23:34

    Change

    return render_to_response('register.html', 'errors':errors)
    

    to

    return render_to_response('register.html', {'errors': errors}, RequestContext(request))
    

提交回复
热议问题