Category Archives: Python

Pywatch: Run tests when your code changes

I’m happy to announce that pywatch is ready for use, I think. Continue reading

Posted in Programming, Projects, Python, Pywatch | 5 Comments

django-baseboard updated to 0.3

I’m happy to announce that [django-baseboard](http://pypi.python.org/pypi/django-baseboard/) has been updated to 0.3 Here’s what’s new: * Better error handling and reporting for the management commands/cron jobs * Projects are no longer required to have an RSS feed foreign key (bugfix from … Continue reading

Posted in BasecampReporting, Projects, Python, Technology | Leave a comment

Announcing basecampreporting and django-baseboard

At [work](http://www.ajc.com), we use [Basecamp](http://www.basecamphq.com/), a lot. We use it for design projects, development projects, and projects that have no design or development components whatsoever. Our project teams like Basecamp because of its focus on communication, but we’ve found that … Continue reading

Posted in BasecampReporting, Programming, Python | Leave a comment

Adventures in unit testing the Basecamp API

I’m working on a little side project, that I might open source once the code is less rough, which involves using the [Basecamp API](http://developer.37signals.com/basecamp/). My package uses the [Python wrapper for the API](http://pypi.python.org/pypi/BasecampWrapper/0.1) and then does some naming convention magic … Continue reading

Posted in Programming, Python | Leave a comment

Django testing tip: don’t test template output

When writing tests for [Django views](http://docs.djangoproject.com/en/dev/#the-view-layer), especially for projects at [work](http://www.ajc.com), I’ve almost completely abandoned any sort of detailed test for the template being rendered. My tests usually look something like this: def test_link_archive_should_show_published_links(self): “””Links in draft status shouldn’t appear … Continue reading

Posted in Django, Programming | 3 Comments

Django Template Development review

You wouldn’t know it by looking at this site, or the HTML behind it, but I actualy started off life as a Web designer for [my college paper](http://themaneater.com). So even though my [day job](http://www.ajc.com) revolves around application development, caching strategies, … Continue reading

Posted in Django, Programming, Web design | 1 Comment

Django cache keys: making them safer

I posted some [my-snippet] over at [Django snippets] [django-snippets] the other day. This code evolved at [work] [ajc] over several months as we encountered a few caching challenges with [memcache] [memcache]. * The first problem was that occasionally some of … Continue reading

Posted in Django, Programming, Python, Technology | Leave a comment

Django developer wanted at ajc.com

We’re looking for a great Django/Python developer to join our small team at [ajc.com] [ajc]. Check out the job posting at [Django Gigs] [django-gig] or at [Craigslist] [craigslist]. Here are some of the benefits to working on our team: * … Continue reading

Posted in Django, Journalism, Programming, Python, Technology | 1 Comment

And now, for something completely differ^h^h^h^h^h^h magical

If you haven’t already, check out the CameraBag application for the iPhone. It allows you to apply a nifty set of features to photos on your phone. Of course, because [Django](http://www.djangoproject.com/) is awesome, and because [magical ponies](http://djangopony.com/) are even more … Continue reading

Posted in Django, Technology | Leave a comment

Django in the Enterprise

Long-time readers [know](http://heisel.org/blog/2005/06/21/best-quote-on-enterprise-development/) of my [dislike](http://heisel.org/blog/2005/04/09/enterprise-its-not-just-a-crappy-tv-show/) for the word [enterprise](http://heisel.org/blog/2005/01/11/thought-of-the-day-enterprise/), but the truth is that many of us work for just such a beast. Luckily I get to use [Django](htttp://djangoproject.com) at my [job](http://www.ajc.com) and I thought I’d share what little … Continue reading

Posted in Django, Python | 2 Comments