We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cacc4fc + b2b3a10 commit edc56cbCopy full SHA for edc56cb
django_socketio/example_project/chat/templates/base.html
@@ -1,10 +1,12 @@
1
+{% load static %}
2
+
3
<!doctype html>
4
<html lang="en">
5
<head>
6
7
<meta charset="utf-8">
8
<title>{% block title %}Chat{% endblock %}</title>
- <link rel="stylesheet" href="{{ STATIC_URL }}css/chat.css">
9
+ <link rel="stylesheet" href="{% static 'css/chat.css' %}">
10
{% block extra_css %}{% endblock %}
11
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
12
<script>
django_socketio/templates/socketio_scripts.html
@@ -1,4 +1,6 @@
-<script src="{{ STATIC_URL|default:MEDIA_URL }}js/socket.io.js"></script>
+<script src="{% static 'js/socket.io.js' %}"></script>
(function() {
0 commit comments