I'm going to DjangoCon!
In like Flynn
Read More
- "To be quickly and/or emphatically successful."
Read More
Pagination: it's not pretty, but it works
I wanted a simpler solution than django-pagination. Django-pagination looks easy to implement, particularly thanks to Eric Florenzano's stellar screencast, but the actual installation process isn't very well-documented. Besides, I wanted something that didn't require installing a lot of outside code, and I sure don't want to have ...
Read More
Read More
That's right, the women are smarter
Girls Close the "Math Gap" [Alternet] Gender Similarities Characterize Math Performance [Science Magazine] Girls Bridge Gender Divide in Math [ABC News]
Read More
Read More
Oh Django, how do I love thee? Let me count the joins ...
Let's say I have three simple models - news articles, their categories, and the table that defines which articles are in which categories:
Read More
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
Dynamic choices on a ForeignKey field
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't started changing my current project to work ...
Read More
Read More





