Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/08/2015, 15:23
dgaroz
 
Fecha de Ingreso: agosto-2015
Mensajes: 1
Antigüedad: 8 años, 9 meses
Puntos: 0
[DJango] No me cargan algunos recursos estaticos (javascripts)

Buenas:

No se que está pasando pero no me carga ningún javacript de los que están guardados en la carpeta static. Si lo hacen los que vienen de fuera, es decir, puedo cargar jQuery desde su web pero no desde mi carpeta. Por tanto no tengo forma de cargar mis propios scripts.

Si me cargan los css y las imagenes.

Los tengo declarados así:
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico'%}"/>
<link rel="stylesheet" href="{% static 'lib/css/bootstrap-theme.min.css' %}">
<link rel="stylesheet" href="{% static 'lib/css/bootstrap.min.css' %}">
<script scr="{% static 'lib/js/jquery.min.js' %}"></script>
<script scr="{% static 'lib/js/bootstrap.min.js' %}"></script>
<script scr="{% static 'js/index.js' %}"></script>

Éste es el árbol de recursos:


Muchas gracias a todos