2013-05-04 1 views
0

썸네일 이미지에 isotope를 사용했습니다. 모든 것이 내 개발 서버에서 제대로 작동합니다.앱에 업로드 한 후 파일을 찾을 수 없습니다.

"af update"를 사용하여 appfog에서 내 파일을 업데이트 한 후. 위의 페이지는 inspect 요소에서이 오류를 발생시킵니다. 여기

[email protected]:~/workstation/neudev$ af files neudev app/neudev/staticfiles/plugin/js --all 
====> [0: app/neudev/staticfiles/plugin/js] <==== 

camera.js        66.7K 
camera.min.js       38.4K 
isotope.init.js       808B 
isotope.js        15.7K 
jquery.easing.1.3.js      7.9K 
jquery.min.js       91.7K 
jquery.mobile.customized.min.js   17.1K 

내가 '돈 포트폴리오 페이지

{% extends 'base.djhtml' %} 
{% load humanize %} 
{% block title %} | {{ title }}{% endblock %} 
{% block stylesheets %} 
    <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}defaults/css/pages/portfolio.css" /> 
    <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}plugin/css/isotope.css" /> 
{% endblock %} 
{% block maincontent %} 
<div class="row"> 
    <div class="span12"> 
     <div class="shelf"> 
      <div class="shelfContainer"> 
       <div class="tabbable tabs-left"> 
        <!-- Only required for left/right tabs --> 
        <ul id="filters" class="nav nav-tabs"> 
          <li class="active"> 
           <a href="#" data-toggle="tab" data-filter="*">All</a> 
          </li> 
         {% for c in cat %} 
          <li> 
           <a href="#" data-toggle="tab" data-filter=".{{ c.id }}">{{ c.title }}</a> 
          </li> 
         {% endfor %} 
        </ul> 
        <div id="isotope-container" class="tab-content"> 
         {% for p in folio %} 
          <div class="well well-small pull-left {{ p.category.id }}" style="margin-left: 20px"> 
           <a href="#"> 
            <img width="180px" src="{{ p.thumbnail.url }}" alt="{{ p.title }}" /> 
           </a> 
          </div> 
         {% endfor %} 
        </div> 
       </div> 
      </div> 
     </div> 
    </div> 
</div> 
{% endblock %} 
{% block javascript %} 
    <script type="text/javascript" src="{{ STATIC_URL }}plugin/js/isotope.js"></script> 
    <script type="text/javascript" src="{{ STATIC_URL }}plugin/js/isotope.init.js"></script> 
{% endblock %} 

내 템플릿입니다 위에서 언급 할 파일을 존재

Failed to load resource: the server responded with a status of 404 (NOT FOUND) http://neudev.hp.af.cm/static/plugin/css/isotope.css 
Failed to load resource: the server responded with a status of 404 (NOT FOUND) http://neudev.hp.af.cm/static/plugin/js/isotope.init.js 
Failed to load resource: the server responded with a status of 404 (NOT FOUND) http://neudev.hp.af.cm/static/plugin/js/isotope.js 
Failed to load resource: the server responded with a status of 404 (NOT FOUND) http://neudev.hp.af.cm/portfolio/undefined?1367668124923 

나는 appfog 디렉토리 내에 그것을 확인하려고 내가 발견 여기에 무엇이 잘못되었는지를 아는 사람이 나를 도울 수 있기를 바랍니다.

도움을 주시면 감사하겠습니다.

답변

0

나는 어디에서 내가 잘못했는지 알고있다. 나는 collectstatic을 깜박했다.

관련 문제