Python - No me cargan algunos recursos estaticos (javascripts)

 
Vista:

No me cargan algunos recursos estaticos (javascripts)

Publicado por daniel (1 intervención) el 03/08/2015 23:31:04
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 imágenes.

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>

Un saludo.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder