Posts Tagged ‘ 0px-2px ’

Footer dynamic data

August 6, 2010
By

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

Read more »

Finding Duration: Creating a context variable from two DateField …

August 5, 2010
By

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, ...

Read more »

Passing argument to Template loader

July 8, 2010
By

http://www.b-list.org/weblog/2007/nov/01/ django-tips -template-loading-and-rendering/ but none of these really apply as they are at the view level and this is not practical as I would need to make each and every view do a ...

Read more »

Does a new field in existing populated database need both: null …

June 13, 2010
By

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/ ...

Read more »