On Dec 20, 9:45 am, "cwurld" <[EMAIL PROTECTED]> wrote:
Thanks for all your replies. I can get things working the way you
recommend, but I am concerned with the way it forces me to separate
parts of my apps and it seems to create unnecessary complexity.

I think it is important to distinguish static items based on size. My
css files tend to be very small (less than 1kB). I think it would be
much easier to manage if I could just keep those files with my app. I
was thinking of using the {% include %} template tag pull in the css.
Allthough this seems like a hack.

There must be a way to keep an app and its static components together.
The Django Admin app seems to do this.

Thanks again for all your thoughtful comments.

Chuck

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.


--~--~---------~--~----~------------~-------~--~----~
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