Hi,

static context processor is simply this:

return {'STATIC_URL': settings.STATIC_URL}

so you can just add it to your context.

Regarding your design decision, i'm not sure, why don't you just give
the whole object to the context and access its attributes/functions in
the template. Would look much cleaner to me, separation of concerns
etc.

Alendit

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to