Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…hat broke the prepopulated fields. Thanks, mk.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5120f018daa8f2c7e3599b5a2c0d30775bb4ec21 1 parent 343b4f1
@jezdez jezdez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/admin/options.py
View
2  django/contrib/admin/options.py
@@ -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])
Please sign in to comment.
Something went wrong with that request. Please try again.