The usual way to do this is by using a context processor. This is very well explained in the following bog post by James Bennett: http://www.b-list.org/weblog/2006/jun/14/ django-tips -template-context-processors/ regards ...
You can check this page for more information:http://www.b-list.org/weblog/2006/aug/18/ django-tips -using-properties-models-and-managers/ I have a simple model that includes two DateField fields. I have everything passing to the template, ...
empty string instead of null? I've read James Bennet's post and the Django docs (links below), but can't fathom the correct approach for this case: http://www.b-list.org/weblog/2006/jun/28/ django-tips -difference-between-blank-and-null/ ...