@property<EOL><INDENT>def media(self):<DEDENT>
media = super(JqueryMediaMixin, self).media<EOL>js = []<EOL>if JQUERY_URL:<EOL><INDENT>js.append(JQUERY_URL)<EOL><DEDENT>elif JQUERY_URL is not False:<EOL><INDENT>vendor = '<STR_LIT>' if django.VERSION < (<NUM_LIT:1>, <NUM_LIT:9>, <NUM_LIT:0>) else '<STR_LIT>'<EOL>extra = '<STR_LIT>' if settings.DEBUG else '<STR_LIT>'<EOL>jquery_paths = [<EOL>'<STR_LIT>'.format(vendor, extra),<EOL>'<STR_LIT>',<EOL>]<EOL>if USE_DJANGO_JQUERY:<EOL><INDENT>jquery_paths = ['<STR_LIT>'.format(path) for path in jquery_paths]<EOL><DEDENT>js.extend(jquery_paths)<EOL><DEDENT>media += Media(js=js)<EOL>return media<EOL>
Media defined as a dynamic property instead of an inner class.