hasan_aljudy wrote:
I'm quite new to Django and I ran into this situation yesterday .. in
the end, I went with the {% include "style.css" %} trick, which seems
to be the best solution, because it's the simplest one, and I don't see
any drawbacks to it.

That will work fine. The only drawback is that the css will always be
included in your html file. Even if your css file is small, it prevents
the user's browser from caching the information, so it will have to be
downloaded and reinterpreted every time, including when a user goes
from page to page on your site. If your website is popular, those small
files add up to thousands and thousands of extra bytes.

Don


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to