Closed philipn closed 13 years ago
Cool, thanks -- I'll test this soon then pull it. It's backwards incompatible for anyone who's customized the OLWIDGET_MEDIA_URL setting, and to anyone who's linked to the old location of olwidget/media/olwidget, but this is the future so it's worth it.
Added a fix for afterAdd() as well.
Sent a more direct pull request (this pull requst is set for 'master'). I don't think I can delete this here, though :)
olwidget appears to be written with an older staticfiles-type system in mind (using 'media'). Django 1.3 standardises this, settling on 'static' for media. I changed 'media' to 'static' and updated widgets.py accordingly. It should work with older installations, too.