Have you looked at the media class ?

https://docs.djangoproject.com/en/1.10/topics/forms/media/

2016-12-29 13:20 GMT+01:00 Antonis Christofides <[email protected]>:
> Hello everyone,
>
> can a custom widget specify a static CSS file? I think the <style> element is
> only allowed in the HTML header. So how can I write a custom widget that will
> make use of an additional static css file?
>
> Regards,
>
> Antonis
>
> --
> Antonis Christofides
> http://djangodeployment.com
>
> --
> 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, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/9dbbda3e-9578-4656-4fcb-6099248f5665%40djangodeployment.com.
> For more options, visit https://groups.google.com/d/optout.



-- 

Cordialement, Coues Ludovic
+336 148 743 42

-- 
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, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEuG%2BTaen4qYd%2BpEY3LXt1S8joEj7gk%2BqAKciAZWaHvv0cuEfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to