Annoying Heroku Error Messages

Posted by: bshaurette | Date: Sep 27, 2012 | Category: Tools
(venv)[me@my project]$ heroku open
 !    A new version of the Heroku toolbelt is available, run `heroku update` to upgrade.

(venv)[me@my project]$ heroku update
 !    `heroku update` has been disabled in favor of autoupdate.

(venv)[me@my project]$ heroku autoupdate
 !    `autoupdate` is not a heroku command.
 !    See `heroku help` for a list of available commands.

(venv)[me@my project]$ autoupdate
autoupdate: `' or `' is required

Read More

DjangoCon 2012 Recap

Posted by: bshaurette | Date: Sep 10, 2012 | Category: Django DjangoCon

Note: I started writing this on the evening of the last day of sprints at this year's DjangoCon.

I can't believe the week is over already. It's Saturday night at the Hyatt in Crystal City, just south of Washington D.C. The last of the die-hard sprinters have packed up their ...

Read More

Coding for Good: Working with the Sunlight Labs APIs

Posted by: bshaurette | Date: Aug 29, 2012 | Category: Python

If you're looking to get your feet wet when it comes to working with open U.S. government data, I can think of no better place to start than with the Sunlight Laps APIs. They're not kidding when they say that using their APIs is absurdly easy.

Sunlight Labs is ...

Read More

QuerySets, Q Objects, datetime, and Far Too Much Context

Posted by: bshaurette | Date: Aug 07, 2012 | Category: Django Django1.3 PostGreSQL

Currently I'm working on a project that involves collections of activities that take place over the course of 12 weeks. I'm using Postgres, Django 1.3, and the DateTimeField class (which translates to the timestamptz type in Postgres) to handle dates in my models. (A note: Although it creates a few ...

Read More

Going Mobile with Django and jQuery

Posted by: bshaurette | Date: Jul 30, 2012 | Category: Django JavaScript

This is not the only way to build a mobile site - certainly, some methods are probably better depending on your needs.

But this method is simple, and if your mobile needs are also simple, this may be the way to go.

Maybe you just have a blog (such as ...

Read More