Ticket #6005: 00-media-property.diff
File 00-media-property.diff, 571 bytes (added by , 17 years ago) |
---|
-
django/newforms/widgets.py
=== modified file 'django/newforms/widgets.py'
109 109 m = Media() 110 110 for medium in extend: 111 111 m = m + base[medium] 112 m = m + Media(definition)113 112 return m + Media(definition) 114 113 else: 115 114 return Media(definition) 116 115 else: 117 116 return base 118 117 return property(_media)