Commit ed999187 authored by fred's avatar fred

manually include select2 script/css in head

parent 81677488
...@@ -230,6 +230,7 @@ COMBO_PUBLIC_TEMPLATES = { ...@@ -230,6 +230,7 @@ COMBO_PUBLIC_TEMPLATES = {
}, },
} }
AUTO_RENDER_SELECT2_STATICS = False
try: try:
from local_settings import * from local_settings import *
......
{% extends "base.html" %} {% extends "base.html" %}
{% load static %} {% load static django_select2_tags %}
{% block extrascripts %} {% block extrascripts %}
<script src="{% static "ckeditor/ckeditor/ckeditor.js" %}"></script> <script src="{% static "ckeditor/ckeditor/ckeditor.js" %}"></script>
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<script src="{% static "js/combo.manager.js" %}"></script> <script src="{% static "js/combo.manager.js" %}"></script>
<script src="{% static "js/gadjo.js" %}"></script> <script src="{% static "js/gadjo.js" %}"></script>
<link href="{% static "css/combo.manager.css" %}" rel="stylesheet" type="text/css"/> <link href="{% static "css/combo.manager.css" %}" rel="stylesheet" type="text/css"/>
{% import_django_select2_js_css %}
{% endblock %} {% endblock %}
{% block more-user-links %} {% block more-user-links %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment