Author: jezdez Date: 2011-07-30 10:37:39 -0700 (Sat, 30 Jul 2011) New Revision: 16574
Modified: django/trunk/django/contrib/admin/options.py Log: Fixed #16540 -- Fixed typo in InlineModelAdmin introduced in r16487 that broke the prepopulated fields. Thanks, mk. Modified: django/trunk/django/contrib/admin/options.py =================================================================== --- django/trunk/django/contrib/admin/options.py 2011-07-29 10:22:25 UTC (rev 16573) +++ django/trunk/django/contrib/admin/options.py 2011-07-30 17:37:39 UTC (rev 16574) @@ -1329,7 +1329,7 @@ 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]) -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.