def _get_media(self):
        return forms.Media(
            js=(settings.SELECT2_JS, 'django_select2/django_select2.js'),
            css={'screen': (settings.SELECT2_CSS,)}
        )
Construct Media as a dynamic property.
dataset/ETHPy150Open applegrew/django-select2/django_select2/forms.py/Select2Mixin._get_media