Issue #15 resolved

Looking in wrong dir

Anonymous created an issue

After install as described in README, getting bunch of 404's:

[23/Jan/2012 15:55:25] "GET /admin/ HTTP/1.1" 200 10895 [23/Jan/2012 15:55:25] "GET /admin/admintools_bootstrap/js/less.js HTTP/1.1" 404 4647 [23/Jan/2012 15:55:25] "GET /admin/admintools_bootstrap/chosen/chosen.css HTTP/1.1" 404 4668 [23/Jan/2012 15:55:25] "GET /admin/admintools_bootstrap/css/custom-theme/jquery-ui-1.8.16.custom.css HTTP/1.1" 404 4749 [23/Jan/2012 15:55:25] "GET /static/admin_tools/css/jquery/jquery-ui.css HTTP/1.1" 304 0 [23/Jan/2012 15:55:25] "GET /static/admin_tools/css/dashboard.css HTTP/1.1" 304 0 [23/Jan/2012 15:55:25] "GET /admin/admintools_bootstrap/js/jquery-1.7.1.min.js HTTP/1.1" 404 4683 [23/Jan/2012 15:55:25] "GET /admin/admintools_bootstrap/chosen/chosen.jquery.js HTTP/1.1" 404 4686 [23/Jan/2012 15:55:25] "GET /admin/admintools_bootstrap/js/jquery-ui-1.8.16.custom.min.js HTTP/1.1" 404 4716 [23/Jan/2012 15:55:25] "GET /admin/admintools_bootstrap/js/bootstrap-dropdown.js HTTP/1.1" 404 4689 [23/Jan/2012 15:55:25] "GET /admin/admintools_bootstrap/js/bootstrap-alerts.js HTTP/1.1" 404 4683 [23/Jan/2012 15:55:26] "GET /admin/admintools_bootstrap/js/bootstrap-twipsy.js HTTP/1.1" 404 4683 [23/Jan/2012 15:55:26] "GET /admin/admintools_bootstrap/js/init-ui.js HTTP/1.1" 404 4656 [23/Jan/2012 15:55:26] "GET /static/admin_tools/js/utils.js HTTP/1.1" 304 0 [23/Jan/2012 15:55:26] "GET /static/admin_tools/css/jquery/images/ui-icons_222222_256x240.png HTTP/1.1" 304 0 [23/Jan/2012 15:55:26] "GET /static/admin_tools/js/jquery/jquery.min.js HTTP/1.1" 304 0 [23/Jan/2012 15:55:26] "GET /static/admin_tools/images/admin-tools.png HTTP/1.1" 304 0 [23/Jan/2012 15:55:26] "GET /static/admin_tools/js/jquery/jquery.cookie.min.js HTTP/1.1" 304 0 [23/Jan/2012 15:55:26] "GET /static/admin_tools/js/jquery/jquery.dashboard.js HTTP/1.1" 304 0 [23/Jan/2012 15:55:26] "GET /static/admin_tools/js/dashboard.js HTTP/1.1" 304 0

Comments (6)

  1. Anonymous

    There seems to be an issue with rendering base_site.html. For some reason STATIC_URL is not being rendered properly.

    In the template:

    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}admintools_bootstrap/css/custom-theme/jquery-ui-1.8.16.custom.css" />
    

    Rendered (with example of working CSS file):

    <link rel="stylesheet" type="text/css" href="admintools_bootstrap/css/custom-theme/jquery-ui-1.8.16.custom.css" />
    <link rel="stylesheet" href="/static/admin_tools/css/jquery/jquery-ui.css" type="text/css" media="screen, projection"/>
    
  2. Holly Sydney

    I had this same situation and solved it by adding into TEMPLATE_CONTEXT_PROCESSORS in settings.py

    'django.core.context_processors.static',
    

    which I saw mentioned somewhere as `there by default` but in my case was not. Can we add this to the docs?

  3. Log in to comment