Category Archives: Django

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 [code to make your Django cache keys safer] [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]. * … Continue reading

Posted in Django, Programming, Python, Technology | Comments Off on Django cache keys: making them safer

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 | Comments Off on And now, for something completely differ^h^h^h^h^h^h magical