That's right, the women are smarter

Posted by: barbara | Date: Jul 28, 2008 | Updated: Jul 28, 2008 | Category: Girl Geeks
Girls Close the "Math Gap" [Alternet] Gender Similarities Characterize Math Performance [Science Magazine] Girls Bridge Gender Divide in Math [ABC News]

Read More

Oh Django, how do I love thee? Let me count the joins ...

Posted by: barbara | Date: Jul 25, 2008 | Updated: Sep 09, 2008 | Category: Django
Let's say I have three simple models - news articles, their categories, and the table that defines which articles are in which categories:
 class Article(models.Model): title = models.CharField(max_length=40, unique=True) body = models.TextField() class Category(models.Model): name = models.CharField(max_length=40, unique=True) class ArticleCategory(models.Model): article = models.ForeignKey(Article) category = models.ForeignKey(Category) 
To get ...

Read More

Newforms-admin

Posted by: barbara | Date: Jul 23, 2008 | Updated: Sep 09, 2008 | Category: Django
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 really made sense as a way to hook models into the admin site. But ...

Read More

Dynamic choices on a ForeignKey field

Posted by: barbara | Date: Jul 23, 2008 | Updated: Sep 09, 2008 | Category: Django

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't started changing my current project to work with the merge, but as I ...

Read More

Waiting for Djangocon tickets

Posted by: barbara | Date: Jul 21, 2008 | Updated: Sep 09, 2008 | Category: Django DjangoCon
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 up a donations page. Over the weekend, I came across this article - ...

Read More