Thanks a lot, exactly what I needed. Sent from my iPhone
On Jan 15, 2011, at 11:38 PM, "Casey S. Greene" <[email protected]> wrote: > Assuming you mean this: > https://github.com/mintchaos/django_compressor > > From their example: > > {% load compress %} > {% compress css %} > <link rel="stylesheet" href="/media/css/one.css" type="text/css" > charset="utf-8"> > <style type="text/css">p { border:5px solid green;}</style> > <link rel="stylesheet" href="/media/css/two.css" type="text/css" > charset="utf-8"> > {% endcompress %} > > This goes in your template. Make the CSS for that page a separate file and > only include it on the pages where you actually want it. > > Hope this helps! > -- Casey > > On 01/15/2011 03:13 PM, Mo J. Al-Mughrabi wrote: >> Hi, >> >> Am using django compressor to compress n include my CSS files. There >> are some CSS I would like to render only in certain pages, any idea >> how will I include more CSS files dynamically at run time? >> >> Sent from my iPhone >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

