about 2 weeks ago - No comments
My Favorite Django Tips & Features. 1. Dont hardcode MEDIA_ROOT and TEMPLATE_DIRS use os.path.realpath(os.path.dirname)__file__)). hardcoding will cause problem while moving from dev-> test-> live. 2. Dont hardcode static files in …
about 3 weeks ago - No comments
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 …
about 4 weeks ago - No comments
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, …
about 1 month ago - No comments
Python tips and tricks. (3). Django ShowMeDos. (2). Most Popular Tutorial. (2). OpenOffice. (2). Site Relauch. (2). Blogroll. (1). Distraction therapy. (1). Open Source Advocacy. (1). jQuery. (1). Uncategorized. (0). Archives …
about 1 month ago - No comments
http://www.b-list.org/weblog/2006/sep/02/ django-tips -user-registration/ I’m concerned with how old this post is. Is this approach still valid given that it was posted in 2006? The author is using both the User …
about 1 month ago - No comments
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 …
about 2 months ago - No comments
http://www.b-list.org/weblog/2006/jun/06/ django-tips -extending-user-model/ Jacob Is there a simple way to change the displayed name of the users object in the auth package?I don’t care about what it’s called under the hood. …
about 2 months ago - No comments
Best Asp. net error handling article ! Parimanam on November 12, 2008. very useful article in error handling in asp.net. Thans Milan. John on January 16, 2009. Great Article!!! Thanks
. Leo schoonbroodt on February 12, 2009 …
about 2 months ago - No comments
http://www.b-list.org/weblog/2006/jun/06/ django-tips -extending-user-model/ and Matt’s supplemental blog entry here: http://www.thenestedfloat.com/articles/displaying-custom-user-profile-fields-in-djangos-admin …
about 2 months ago - No comments
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/ …