Skip to content
Browse files

Fixed #16540 -- Fixed typo in InlineModelAdmin introduced in r16487 t…

…hat broke the prepopulated fields. Thanks, mk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 343b4f1 commit 5120f018daa8f2c7e3599b5a2c0d30775bb4ec21 @jezdez jezdez committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/admin/
2 django/contrib/admin/
@@ -1329,7 +1329,7 @@ def __init__(self, parent_model, admin_site):
def _media(self):
js = ['jquery.min.js', 'jquery.init.js', 'inlines.min.js']
if self.prepopulated_fields:
- js.extend(['urlify.js, prepopulate.min.js'])
+ js.extend(['urlify.js', 'prepopulate.min.js'])
if self.filter_vertical or self.filter_horizontal:
js.extend(['SelectBox.js', 'SelectFilter2.js'])
return forms.Media(js=['admin/js/%s' % url for url in js])

0 comments on commit 5120f01

Please sign in to comment.
Something went wrong with that request. Please try again.