Files not found after uploading to appfog -
i used isotope thumbnail images. works fine in development server.
after have updated files in appfog using "af update". above page spits out error in inspect element.
failed load resource: server responded status of 404 (not found) http://neudev.hp.af.cm/static/plugin/css/isotope.css failed load resource: server responded status of 404 (not found) http://neudev.hp.af.cm/static/plugin/js/isotope.init.js failed load resource: server responded status of 404 (not found) http://neudev.hp.af.cm/static/plugin/js/isotope.js failed load resource: server responded status of 404 (not found) http://neudev.hp.af.cm/portfolio/undefined?1367668124923
i try check inside appfog directory , found out files mentioned above exists
advitor@ubuntu:~/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
here template portfolio page
{% 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"> <!-- required left/right tabs --> <ul id="filters" class="nav nav-tabs"> <li class="active"> <a href="#" data-toggle="tab" data-filter="*">all</a> </li> {% 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"> {% 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 %}
i don't know wrong here, hope me.
any appreciated.
i know did wrong, forgot run collectstatic
Comments
Post a Comment