mateja wrote:

>As you can see, I load the mediaurl filter, and then inject the
>media_url value.  My question is, is this the right way to do this?
>
One of the ways, at least. I'm doing it another way using context 
processor to populate template's context with selected values from 
settings that I need there.

>  I
>can't imagine that I'm the only one who has a need to read project
>settings.  Is there a built-in way of grabbing project settings?
>
Django way as I understand it doesn't recommend piling up everything 
possible into template context. Because in this case templates become 
too educated and hence have a chance to become too complex trying to use 
all this data in some bizzare ways trying to implement logic that should 
have been in views instead.

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

Reply via email to