Source

django-socketio-on-dotcloud / hellodjango / templates / helloworld.html

<html>
<head><title>Hello World!</title>

<head>
    {% load socketio_tags %}
    {% socketio %}
    <script>
        var socket = new io.Socket();
        socket.connect();
        // etc
    </script>
</head>

</head>
<body>
    <p>Hello World. The current day and time is {{current_time|date:"DATETIME_FORMAT"}}.</p>

</body>
</html>