예제 #1
0
 def media(self):
     media = self.widget.media + vendor('website.plugin.quick-form.js')
     return media
예제 #2
0
 def media(self):
     return vendor('select.js', 'select.css', 'website.widget.select.js')
예제 #3
0
 def media(self):
     media = self.widget.media + vendor('website.plugin.batch.js')
     return media
예제 #4
0
 def media(self):
     return vendor('multiselect.js', 'multiselect.css',
                   'website.widget.multiselect.js')
예제 #5
0
 def media(self):
     return vendor('website.widget.select-transfer.js',
                   'website.widget.select-transfer.css')
예제 #6
0
 def media(self):
     media = Media()
     _all = set(self.map_dict.values())
     for obj in _all:
         media = media + obj.media
     return media + vendor('website.widget.selectrelation.js')
예제 #7
0
 def media(self):
     return vendor('datepicker.js', 'timepicker.js', 'timepicker.css',
                   'website.widget.datetime.js')
예제 #8
0
 def media(self):
     return vendor('website.widget.RelatedObjectLookups.js',
                   'website.widget.select-related.css')