Category Archives: Django

django-configurations

django-configurations: Sanest approach I’ve seen to having multiple DJANGO_SETTINGS_FILE setups for your various environments. Plus it looks like it’d work really well with envdir which lets you store environment variables in files in a folder and execute programs using that folder’s … Continue reading

Posted in Blogmarks, Django | Leave a comment

Get XML coverage reports from nose

Quick recap of my tiny plugin for nose. Continue reading

Posted in Django, Projects, Python | Leave a comment

Django continuous integration with Hudson and Nose

How to set up continuous testing, with coverage, of your Django project in Hudson. Continue reading

Posted in Django, Programming, Python, Technology | 17 Comments

Setup Django with mod_wsgi on your Mac

Logged for your pleasure, and mine: the steps I went through to setup mod_wsgi on my Mac for local development of Django apps. Continue reading

Posted in Django, Programming, Python | 4 Comments

A short introduction to Django and Gearman

Notes from my lightning talk at DjangoCon 2009 on Gearman, a distributed work queue. Continue reading

Posted in Django, Programming, Python | 2 Comments

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