Browse Source

Jidáš: jsem vůl (soubor se nemůže jmenovat select2.js, když select2.js už importujeme)

pull/30/head
MaM Web user 1 year ago
parent
commit
a07dbf4ab3
  1. 0
      odevzdavatko/static/odevzdavatko/nesbalovaci_select2.js
  2. 2
      odevzdavatko/templates/odevzdavatko/nahraj_reseni.html
  3. 2
      odevzdavatko/templates/odevzdavatko/posli_reseni.html

0
odevzdavatko/static/odevzdavatko/select2.js → odevzdavatko/static/odevzdavatko/nesbalovaci_select2.js

2
odevzdavatko/templates/odevzdavatko/nahraj_reseni.html

@ -2,7 +2,7 @@
{% load static %} {% load static %}
{% block script %} {% block script %}
<script src="{% static 'odevzdavatko/dynamic_formsets.js' %}"></script> <script src="{% static 'odevzdavatko/dynamic_formsets.js' %}"></script>
<script src="{% static 'odevzdavatko/select2.js' %}"></script> <script src="{% static 'odevzdavatko/nesbalovaci_select2.js' %}"></script>
{% endblock %} {% endblock %}
{% block content %} {% block content %}

2
odevzdavatko/templates/odevzdavatko/posli_reseni.html

@ -4,7 +4,7 @@
<!--script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script!--> <!--script type="text/javascript" src="{% static 'admin/js/vendor/jquery/jquery.js' %}"></script!-->
{{form.media}} {{form.media}}
<script src="{% static 'odevzdavatko/dynamic_formsets.js' %}"></script> <script src="{% static 'odevzdavatko/dynamic_formsets.js' %}"></script>
<script src="{% static 'odevzdavatko/select2.js' %}"></script> <script src="{% static 'odevzdavatko/nesbalovaci_select2.js' %}"></script>
{% endblock %} {% endblock %}
{% block content %} {% block content %}

Loading…
Cancel
Save