Writing custom contexts for Django is a powerful way to extend generic templates, or to simply avoid writing repetitive code when you need the same content to be available to a number of templates. They are also fantastically simple to use
When you have a lot of content to show but not enough room to it, a helpful UI pattern is to show just the content surrounding your current position. We see this in search result pages, and now in a series' list of entries on my blog.
Part three of the Two-faced Django series looks at using newforms for validation.
This articles covers the basics of creating a custom search vertical using django-springsteen and then deploying it on Google App Engine.
It can be a bit awkward to implement MarkDown and Code Syntax highlighting together in your Django applications. But making them play nicely together doesn't have to be a hassle. Beyond that, its about time to teach your Django blog to automagickly create MarkDown references for you. If only it would stop begging at the dinner table...
I spent an hour or two last night figuring out how to get django-rcsfield working, and figure that the notes from the experience might benefit anyone else trying to do the same. With these notes, you too should only be thirty minutes away from adding version control to your Django textfields.
Link to the search logs for Findjango. Obviously, not really that much data, but something.
A brief and informal article on restricting the user signups using an arbitrary signup code with a specified number of uses. Could this be made into a pluggable app?
After introducing django-springsteen to the world yesterday, here is a look at how to use django-springsteen to rerank search results with custom logic, as well as a look at how it achieves consistency of results across pagination.
Software engineer, technical leader, sci-fi reader, and so on. Born in NC, living in SF, and glad to grab a coffee.