mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fixed typos in docs/ref/contrib/admin/javascript.txt.
This commit is contained in:
parent
12b9aa279f
commit
9e26a8331d
@ -28,7 +28,7 @@ In your custom ``change_form.html`` template, extend the
|
|||||||
|
|
||||||
{% block admin_change_form_document_ready %}
|
{% block admin_change_form_document_ready %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<script type="text/javascript" src="{% static 'app/formset_handlers.js' %}></script>
|
<script type="text/javascript" src="{% static 'app/formset_handlers.js' %}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
.. snippet:: javascript
|
.. snippet:: javascript
|
||||||
@ -66,7 +66,7 @@ namespace, just listen to the event triggered from there. For example:
|
|||||||
|
|
||||||
{% block admin_change_form_document_ready %}
|
{% block admin_change_form_document_ready %}
|
||||||
{{ block.super }}
|
{{ block.super }}
|
||||||
<script type="text/javascript" src="{% static 'app/unregistered_handlers.js' %}></script>
|
<script type="text/javascript" src="{% static 'app/unregistered_handlers.js' %}"></script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
.. snippet:: javascript
|
.. snippet:: javascript
|
||||||
|
Loading…
Reference in New Issue
Block a user