Have troubles with inline in django admin. For example, i want to add a chosen jquery plugin to my Change_form page. I'm extends change_from html and add next code
{% extends "admin/change_form.html" %}
{% block extrahead %}
{{ block.super }}
<script src="{{ MEDIA_URL }}js/chosen.jquery.min.js"></script>
<link rel="stylesheet" href="{{ MEDIA_URL }}js/chosen.css" type="text/css" />
<style type="text/css">
.form-row {
overflow: visible;
}
</style>
<script type="text/javascript">
$(function(){
$("select").chosen();
});
</script>
{% endblock %}
All works perfectly, except "selects" in inline when i push "Add more". They work incorrectly. One gets the impression that the plugin works before widget creation, after clicking "Add more". Same trouble have with Redactor plugin