Python Django code for http://www.filterizer.com/