Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove usage of deprecated module_name model option introduced in 1c0…

  • Loading branch information...
commit 17d898dedd52db947a1b78383890d8a4c92ab6c2 1 parent ff9e116
@ramiro ramiro authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/templates/admin/change_form.html
View
2  django/contrib/admin/templates/admin/change_form.html
@@ -70,7 +70,7 @@
<script type="text/javascript">
(function($) {
$(document).ready(function() {
- $('form#{{ opts.module_name }}_form :input:visible:enabled:first').focus()
+ $('form#{{ opts.model_name }}_form :input:visible:enabled:first').focus()
});
})(django.jQuery);
</script>
Please sign in to comment.
Something went wrong with that request. Please try again.