Permalink
Browse files

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

  • Loading branch information...
1 parent ff9e116 commit 17d898dedd52db947a1b78383890d8a4c92ab6c2 @ramiro ramiro committed Sep 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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>

0 comments on commit 17d898d

Please sign in to comment.