2013-11-03 3 views
0

Dajaxice의 가장 간단한 예제에 문제가 있습니다. 공식 http://django-dajaxice.readthedocs.org/en/latest/installation.html에 설치 가이드를 따라 여기에 표시된 http://django-dajaxice.readthedocs.org/en/latest/quickstart.html 또는 Github 저장소에있는 예는 동일합니다. https://github.com/jorgebastida/django-dajaxice/tree/master/examples입니다.Djangice가 작동하지 않는 Dajaxice의 가장 간단한 예제

아무 것도하지 않고 버튼을 클릭하면 자바 스크립트 콘솔에 함수가 정의되지 않았다는 오류가 발생합니다. 나는이 문제에 대해 많은 것을 읽었고 여전히 해결책이 없다. 여기에 내가 가진 것이있다. 사람이 도움을 줄 수있는 경우 :(여기

는 예와 동일하다 내 프로젝트와의 repo이다. https://github.com/valkirilov/dajacice-example

+0

'dajaxice.finders.DajaxiceFinder', 을 추가 – Krasimir

+0

내 프로젝트의 레포는 다음과 같습니다. [https://github.com/valkirilov/dajacice-example](https://github.com/valkirilov/dajacice-example) – valkirilov

답변

0

당신의 settings.py 파일을 업로드하십시오

STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder', 
    'django.contrib.staticfiles.finders.AppDirectoriesFinder', 
# 'django.contrib.staticfiles.finders.DefaultStorageFinder', 
) 
+0

설정 파일 맨 아래에 추가되었습니다. 그리고 사건은 동일합니다, Dajaxice는 내 기능을 찾을 수 없습니다. – valkirilov