{% load staticfiles %}
{% load django_select2_tags %}
<!DOCTYPE html>
<html>
<head>
    <script src="{% static 'jquery-1.7.2.min.js' %}"></script>
    <script type="text/javascript">
        window.onerror = function (msg) {
            $("body").attr("JSError", msg);
        }
    </script>
    {% import_django_select2_js %}
    {% import_django_select2_css %}
</head>
<body>
<form method="post" action="">
    {% csrf_token %}
    {{ form }}
    <input type="submit" value="Submit Form"/>
</form>
</body>