django-planet

James Bennett

Blog Info James Bennett
Blog website Link

A Python Packaging Carol

Jan. 6, 2020 » James Bennett » [Archived Version]

I have endeavoured in this Ghostly little book, to raise the Ghost of an Idea, which shall not put my readers out of humour with themselves, with each other, with the season, or with me. May it haunt their houses pleasantly, and no one wish to lay it. Every year around Christmas, I make a point of re-reading Charles Dickens’ A Christmas Carol. If you’ve only ever been exposed to the story through adaptations into … Read full entry

Read More

A Python Packaging Carol

Jan. 6, 2020 » James Bennett » [Archived Version]

I have endeavoured in this Ghostly little book, to raise the Ghost of an Idea, which shall not put my readers out of humour with themselves, with each other, with the season, or with me. May it haunt their houses pleasantly, and no one wish to lay it. Every year around Christmas, I make a point of re-reading Charles Dickens’ A Christmas Carol. If you’ve only ever been exposed to the story through adaptations into … Read full entry

Read More

Contributing to classiness (in Django)

March 4, 2019 » James Bennett » [Archived Version]

A couple weeks ago I ran a poll on Twitter asking people whether they’d ever used, or considered using, the contribute_to_class() method to write something that attaches to or hooks into a Django ORM model class, and if so what their thoughts were. There was also a “don’t know what that is” option, which won by a large margin, and I promised I’d provide an explanation. Unfortunately, that was around the time I suffered a kitchen … Read full entry

Read More

Contributing to classiness (in Django)

March 4, 2019 » James Bennett » [Archived Version]

A couple weeks ago I ran a poll on Twitter asking people whether they’d ever used, or considered using, the contribute_to_class() method to write something that attaches to or hooks into a Django ORM model class, and if so what their thoughts were. There was also a “don’t know what that is” option, which won by a large margin, and I promised I’d provide an explanation. Unfortunately, that was around the time I suffered a kitchen … Read full entry

Read More

Truths programmers should know about case

Nov. 26, 2018 » James Bennett » [Archived Version]

A couple weeks ago I gave a talk about usernames at North Bay Python. The content came mostly from things I’ve learned in roughly 12 years of maintaining django-registration, which has taught me more than I ever wanted to know about how complex even “simple” things can be. I mentioned toward the beginning of the talk, though, that it wasn’t going to be one of those “falsehoods programmers believe about X” things. If … Read full entry

Read More

Truths programmers should know about case

Nov. 26, 2018 » James Bennett » [Archived Version]

A couple weeks ago I gave a talk about usernames at North Bay Python. The content came mostly from things I’ve learned in roughly 12 years of maintaining django-registration, which has taught me more than I ever wanted to know about how complex even “simple” things can be. I mentioned toward the beginning of the talk, though, that it wasn’t going to be one of those “falsehoods programmers believe about X” things. If … Read full entry

Read More

Core no more

Nov. 20, 2018 » James Bennett » [Archived Version]

If you’re not the sort of person who closely follows the internals of Django’s development, you might not know there’s a draft proposal to drastically change the project’s governance. It’s been getting discussion on GitHub and mailing lists, but I want to take some time today to walk through and explain what this proposal does and what problems it’s trying to solve. So. Let’s dive in. What’s wrong with Django? Django the web framework is…

Read More

Core no more

Nov. 20, 2018 » James Bennett » [Archived Version]

If you’re not the sort of person who closely follows the internals of Django’s development, you might not know there’s a draft proposal to drastically change the project’s governance. It’s been getting discussion on GitHub and mailing lists, but I want to take some time today to walk through and explain what this proposal does and what problems it’s trying to solve. So. Let’s dive in. What’s wrong with Django? Django the web framework is…

Read More