Re: Including JS/CSS in reusable widget library

2014-10-02 Thread Thomas Güttler
Am 01.10.2014 um 14:44 schrieb Collin Anderson: I usually use "assets" (class Media) for including cdn hosted libraries. https://docs.djangoproject.com/en/dev/topics/forms/media/ Example: how can a reusable widget library tell that it needs jquery-ui? Up to now the only way I see is, that the

Re: Including JS/CSS in reusable widget library

2014-10-01 Thread Collin Anderson
I usually use "assets" (class Media) for including cdn hosted libraries. https://docs.djangoproject.com/en/dev/topics/forms/media/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it,

Including JS/CSS in reusable widget library

2014-09-30 Thread Thomas Güttler
The way django handles static media works very well for js/css files which are included in the library. But if you want to build in external js/css files it gets ugly. For example nice django-selectable widget. Has a long documentation on how to include jquery-ui: http://django-selectable.read