In what is probably my biggest WTF with Django to date, it doesn't validate your models before saving them to the database. All of the necessary code exists and when a dev sets up her models she usually adds the relevant validations using EmailField, URLField, blank, null, unique, ..., but ...(more)
If you've spent some time with Django chances are you've run across its signals system. It is most commonly used to provide hooks in to the model setup and CRUD processes, but there are many other uses of the facility throughout the code including auth, db, and the ...(more)
As part of a project I'm currently working on we wanted to have a brief splash video that plays the first time our app starts up for branding purposes. The video also kills a little time as some initial processing is happening.
Nothing earth-shattering, but the video only plays ...(more)
Python decorators are extremely useful when used with care, and using them is really straightforward. Coding them up on the other hand can be complex and requires, reading along with trial-and-error. There are some helpful modules out there worth taking a look at, but for this use-case we won't ...(more)
What we're after
jQuery's extend function is really useful and if you've ever written a plug-in for the library chances are you've made use of it. I've run across a use for this functionality in python and it also makes an interesting interview question (regardless ...