Forms
Clearing Django Form Fields One By One
Wednesday, December 10th, 2008I just spent an hour looking all over the web for something everyone assumes everyone else already knows. If you’re new to Django and you’re trying to clear a form field on validation then the solution is not intuitive.
Take a common scenario, you have a CAPTACHA image and the user enters it incorrectly, next [...]
Porting Aware To Django
Monday, August 25th, 2008A few years back I started a PC profiling service known as Aware Labs. It was originally written in C++ with a Windows MFC downloadable client. Six months ago I re-wrote the static website front end in Django so I could get a better handle on news and static updates. Today I’m [...]
Everything A Django Developer Needs To Create Logins
Friday, February 8th, 2008Disclaimer: This is Django 0.95 based and for now 0.96 compatible. There are better ways to do this, This is mainly a tutorial to help novice Django developers understand authentication. I strongly suggest you read this for understanding and then look at the comments for a wealth of better solutions…
We all at one [...]
Scraping Amazon Items Using Django Mash-Up
Thursday, May 31st, 2007In this article learn how to mash up your Django powered site with Amazon affiliate items in one simple form. See it in action at: AwareLabs. Then skip to the code section and integrate it into your site.
Background
You want to list links to Amazon items on your Django powered website. However, you find [...]
Implementing CNN Style Votes In Django, Episode II
Monday, April 2nd, 2007Now that we have voting implemented, see Implementing CNN Style Votes In Django, Episode I, it would be usefull to add a mechanism for displaying the voted on items just as easily. This functionality again exists on my www.joosthot.com site, just look at the top right where i use this code to select the [...]
Django Generic XSS Safe Tags
Monday, April 2nd, 2007Adding generic cross site scripting (XSS) safe tags to any site in Django is a painless process once you have the code. Tags are an amazing new concept that stems directly from our efforts to organize a bloated and cluttered online world. This blog is a great example, there are tags at the [...]
Implementing CNN style votes in Django, Episode I
Monday, April 2nd, 2007Lets say you want to allow people to vote on items within your Django project. These items could be anything, in any coimbination, etc… This is relatively simple once you have the right pieces in place. I implemented this functionality recently on my www.joosthot.com site.
Requirements
Voting may be implemented on any page.
Acty of voting does not [...]