Ticket #6012: 6012.diff
File 6012.diff, 688 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/widgets.py
15 15 Note that the resulting JavaScript assumes that the SelectFilter2.js 16 16 library and its dependencies have been loaded in the HTML page. 17 17 """ 18 class Media: 19 js = (settings.ADMIN_MEDIA_PREFIX + "js/SelectBox.js", 20 settings.ADMIN_MEDIA_PREFIX + "js/SelectFilter2.js") 21 18 22 def __init__(self, verbose_name, is_stacked, attrs=None, choices=()): 19 23 self.verbose_name = verbose_name 20 24 self.is_stacked = is_stacked