All articles tagged code

Image for Reusable Django Apps and Forking

Reusable Django Apps and Forking

One of the things that drew me towards Django was the idea of being able to create reusable applications that would sit on my PYTHONPATH instead of copied across multiple sites. Coming from WordPress, the constant security updates that required …
Image for Serving Django via CherryPy

Serving Django via CherryPy

Download django-cpserver Now at GitHub Background A few months ago, I got sick of trying to deploy Django sites on my cPanel server and got a VPS at Slicehost. Thanks to SuperJared, setting up Apache/mod_python behind an Nginx frontend was …
Image for Django FormMail Clone

Django FormMail Clone

Here’s a little nugget I just posted to Django Snippets. It emulates the behavior of an old Perl script I used way back when, FormMail.pl. I often find myself needing to build a form whose contents get emailed to the …
Image for Better Use of Newforms

Better Use of Newforms

The newforms library is a huge time-saver, but when I first started using it, I still found myself writing tedious repetitve code to get it to function how I wanted. While I could get away with it on smaller sites, …
Image for Basecamp SVN Integration

Basecamp SVN Integration

As promised, here is the follow-up to the SVN for Web Developers post, Basecamp integration. Why? Transparency is very important to my business. The #1 complaint I hear about web developers is that they rarely meet deadlines and the client …