just remember to change the headers of the response to reflect that you are
serving a css file and not html


On Wed, Aug 13, 2014 at 3:37 AM, Drew Ferguson <d...@afccommercial.co.uk>
wrote:

> On Tue, 12 Aug 2014 19:53:34 -0400
> François Schiettecatte <fschietteca...@gmail.com> wrote:
>
> > You could certainly render the CSS either in-line in the HMTL pages or
> > in templates, just produce CSS as opposed to HTML (I have produced RSS,
>
> My goodness, of course!
>
> Sometimes the "bleedin' obvious" is hard to see
>
> Thanks
>
> > ATOM, XML and JSON in templates). Or you could have multiple CSS files
> > and just pick the one you want to use when you render the link to the
> > CSS in your HTML pages.
> >
> > François
> >
> > On Aug 12, 2014, at 7:37 PM, Drew Ferguson <d...@afccommercial.co.uk>
> > wrote:
> >
> > > Hi
> > >
> > > Is there any documentation describing possible ways of having dynamic
> > > CSS in a site?
> > >
> > > For example, having a CSS colour scheme set from a database query or
> > > setting a site logo URL from a database query
> > >
> > > Ta
> > > --
> > > Drew Ferguson
> > >
> > > --
> > > 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
> > > django-users+unsubscr...@googlegroups.com. To post to this group, send
> > > email to django-users@googlegroups.com. Visit this group at
> > > http://groups.google.com/group/django-users. To view this discussion
> > > on the web visit
> > >
> https://groups.google.com/d/msgid/django-users/20140813003710.3f766b96%40blacktav.fergiesontour.org
> .
> > > For more options, visit https://groups.google.com/d/optout.
> >
>
> --
> Drew Ferguson
>
> --
> 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 django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20140813013703.223bf526%40blacktav.fergiesontour.org
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tLj8L5cgDg95gfZz_er8kL%2BbetjWsW4scyBEGSaKvotXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to