Use the static template tag when refering to static files.
This commit is contained in:
parent
1137b97239
commit
9ed2be3b66
|
@ -1,3 +1,4 @@
|
|||
{% load static from staticfiles %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{% block header %}
|
||||
|
@ -5,14 +6,14 @@
|
|||
<title>Binder DNS Admin</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}bootstrap/css/bootstrap.min.css" />
|
||||
<script src="{{ STATIC_URL }}sorttable.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "bootstrap/css/bootstrap.min.css" %}" />
|
||||
<script src="{% static "sorttable.js" %}"></script>
|
||||
</head>
|
||||
{% endblock header %}
|
||||
|
||||
<body>
|
||||
<script src="{{ STATIC_URL }}jquery-2.1.3.min.js"></script>
|
||||
<script src="{{ STATIC_URL }}bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="{% static "jquery-2.1.3.min.js" %}"></script>
|
||||
<script src="{% static "bootstrap/js/bootstrap.min.js" %}"></script>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
|
|
Loading…
Reference in New Issue