Ticket #6012: 6012.diff

File 6012.diff, 688 bytes (added by Densetsu no Ero-sennin <densetsu.no.ero.sennin@…>, 17 years ago)
  • django/contrib/admin/widgets.py

     
    1515    Note that the resulting JavaScript assumes that the SelectFilter2.js
    1616    library and its dependencies have been loaded in the HTML page.
    1717    """
     18    class Media:
     19        js = (settings.ADMIN_MEDIA_PREFIX + "js/SelectBox.js",
     20              settings.ADMIN_MEDIA_PREFIX + "js/SelectFilter2.js")
     21
    1822    def __init__(self, verbose_name, is_stacked, attrs=None, choices=()):
    1923        self.verbose_name = verbose_name
    2024        self.is_stacked = is_stacked
Back to Top