This is an older tutorial, but it works splendidly. I just used this approach with a Django 1.2 project I am working on to create a reCAPTCHA field for my custom forms. The automatic validation works like a charm.
Links Tagged With “development” (Show All Items Tagged With “development”)
reCAPTCHA Field for Django Forms
Bookmarked via Diigo on Thursday, May 20, 2010 @ 20:54 CDT by Daniel Andrlik
LESS - Leaner CSS
Bookmarked via Diigo on Friday, April 30, 2010 @ 07:20 CDT by Daniel Andrlik
LESS is an awesome project that extends CSS by adding variables, operations, nested rules and more. Since it supports exisiting CSS syntax, just rename your existing files from *.css to *.less to start using the advanced features in your existing stylesheets. When you are done, you can use the LESS Ruby gem to compile your code to standard CSS for use on your site.
Very cool stuff.
Blowing up HTML5 video and mapping it into 3D space
Bookmarked via Diigo on Wednesday, April 21, 2010 @ 08:28 CDT by Daniel Andrlik
This is so cool. The HTML5 canvas element’s drawImage method can apparently take an HTML5VideoElement as its source, which opens up the possibility of creating tons of fun 3D visual effects upon the playing video.
This article has two great demos that implement effects like making the video explode, or rotating the video in 3D space. Amazing stuff.
Django Debug Toolbar
Bookmarked via Diigo on Saturday, February 13, 2010 @ 15:43 CST by Daniel Andrlik
Django Debug Toolbar is an insanely useful Django app that you can drop into any Django project and get tons of useful information while developing and testing your work, all in a pretty sexy looking toolbar.
DjDT displays information such as:
- Execution time
- Settings
- HTTP Headers
- Request Variables
- SQL
- Template Debug Console
- Signals
- Logging (from the standard Python logging module)
There is a great video on the landing page that does an admirable job showing off what DjDT is capable of doing for you. I can’t imagine why anyone would not use this when developing with Django, unless it’s just plain ignorance of it.
Seriously, save yourself some headache when you are testing your work and use DjDT.
The Go Programming Language
Bookmarked via Diigo on Saturday, November 14, 2009 @ 10:55 CST by Daniel Andrlik
Google has released their own programming language, appropriately named Go.
I haven’t had time to dig deeply into this yet, but I’m seeing some interesting stuff that I like such as fast compilation, garbage collection, easy to read syntax, built in support for multicore machines and of course an open source BSD-style license. I’m looking forward to playing around with this when I can free up some time to do so.
Haystack - Search for Django
Bookmarked via Diigo on Wednesday, November 4, 2009 @ 08:02 CST by Daniel Andrlik
This is a sweet search application for Django.
When I first wrote my site, I had to patch the model code to have it utilize the native full text search available in PostgreSQL, and then some truly ugly search code for searching all the models in my applications. Haystack, combined with a true search backend like Solr or Xapian is a much better approach. Looks like a great way to implement robust search on your Django site.
The basics of creating a tumblelog with Django
Bookmarked via Diigo on Tuesday, June 24, 2008 @ 10:49 CDT by Daniel Andrlik
I’ve been toying with adapting my site code to do this sort of thing. It’s always nice to see when someone else takes the time to publish their solution. I don’t know if I’ll end up doing exactly the same thing, but this post certainly gave me some ideas.
The Rise of Contextual User Interfaces
Bookmarked via Diigo on Thursday, May 15, 2008 @ 09:01 CDT by Daniel Andrlik
Another very astute analysis from ReadWriteWeb in which they discuss how simple and contextual interfaces are becoming more popular than the standard “Windows UI” approach of “never-ending choices.” The author asks if these simpler interfaces will become dominant in the near future, and I certainly hope they do.
Coding Horror: Your Session Has Timed Out
Bookmarked via Diigo on Wednesday, April 16, 2008 @ 11:15 CDT by Daniel Andrlik
This is an interesting post by Jeff Atwood on how programmers should handle session expiration in their applications. I particularly like his explanation of why session expiration occurs:
“The HTTP protocol that the web is built on is stateless. That means every individual request your browser sends to a web server is a newborn babe, cruelly born into a world that is utterly and completely oblivious to its existence.”
Urgency is poisonous - (37signals)
Bookmarked via Diigo on Tuesday, April 15, 2008 @ 16:25 CDT by Daniel Andrlik
This is a great post by Jason Fried over at 37 signals. As he mentions, this won’t work in every industry, but it absolutely makes sense in software. Good stuff.


