0
내가로드 할 수 없습니다 장고와 정적 파일을 사용하고 있었다
이없는 오류는 다음과 같습니다 여기 장고 : ImproperlyConfigured 다음 staticfiles 파인더의 스토리지 백엔드가 유효한 위치
ImproperlyConfigured: The storage backend of the staticfiles finder <class 'django.contrib.staticfiles.finders.DefaultStorageFinder'> doesn't have a valid location.
는 views.py입니다 :
def results(request):
metaUrl = ""
if not request.method == 'POST':
print "Not Post!"
else:
metaUrl = request.POST['urls']
cmodel = InfoController()
(firstList, wordList, sizeList) = cmodel.controller(metaUrl)
print "I am at result"
return render(request, 'infoRetriever/results.html', { 'firstList': firstList, 'wordList': wordList, 'sizeList': sizeList})
내가
return render_to_response('infoRetriever/results.html', { 'firstList': firstList, 'wordList': wordList, 'sizeList': sizeList}, context_instance=RequestContext(request))
을 사용되었을 때 뷰의 마지막 문장을 대체하는 것이 이상해. py, 정적 파일은 OK를로드하지만 다른 문제가 발생합니다. 누구든지 나를 도울 수 있을까? 고맙습니다.