dyve/django-bootstrap-toolkit — pull request #74 by ncortot (2013-04-19 23:25:41+00:00)
Title: Define media as a dynamic property on BootstrapDateInput

Fixes an issue with BootstrapDateInput where the language-specific JS media does not change, although the languages for each response vary.

The list of js media depends on the current language, which may change between requests, so the media list must be recomputed for every request.