Newforms-admin

I wish I could say I were more excited about yesterday's merge of the newforms-admin branch into the Django trunk. Of course, I think it's great - all those inner Admin classes in my models never rea ... Read more

2008-07-23
Django   

Dynamic choices on a ForeignKey field

One proviso before I get started - this example works with the old (as of a few days ago) version of admin, prior to the newforms-admin merge, where the models still use inner admin classes. I haven' ... Read more

2008-07-23
Django   

Waiting for Djangocon tickets

Ugh - still no word on DjangoCon tickets, although the site is up and most of the schedule has been announced. Meanwhile, if you'd like to contribute to the Django Software Foundation, they've put ... Read more

2008-07-21
Django    DjangoCon   

DjangoCon!

DjangoCon 2008 I'm holding out hope that I might actually get to go to this, if only because I live and work nearby. It's September 6-7, 2008, at the GooglePlex (and really, who doesn't want a pee ... Read more

2008-07-16
Django    DjangoCon   

Testing Django apps

Running tests To launch testing, run manage.py from the project folder, passing in 'test' as an argument: ./manage.py test Writing tests You can embed doctests in your models.py, or create a s ... Read more

2008-07-15
Django   

update locate database for Mac Os X

Here's one of those little things I do frequently, but never remember the command. The 'locate' command searches a file name database that is updated weekly (I think the default update time is 4:30 ... Read more

2008-06-05
Mac OS X