Blog: Carlton's latest posts

The longest year

Dec. 10, 2023 » Carlton's latest posts. » [Archived Version]

2023 in review. For the second year in a row 2023 ends with the dominant theme in life having been family ill-health. I feel like 2023 actually began in Oct 2022, when, as I was travelling back from DjangoCon US, my daughter had an accident and was hospitalized. Since then it’s been all go. My son spent most of the year being diagnosed and (kind-of) treated for a mysterious post-Covid illness that we’re still not sure exactly what to make of. He’s doing better, much better. But it’s been the…

Read More

Announcing django-template-partials v23.3

Oct. 8, 2023 » Carlton's latest posts. » [Archived Version]

I’ve just released the new version v23.3 of django-template-partials. 🎁 (Actually, there’s also a 23.3post1 release as well, because I wanted the README to show up on PyPI, but you don’t need to worry about that 😜) From the CHANGELOG: This is the first major update since the initial release. It includes a number of bug fixes and adjustments from the feedback received. Thanks to everyone who has tried the package and provided feedback. Please read these notes carefully if you are upgrading fro…

Read More

Introducing django-unique-user-email

Oct. 6, 2023 » Carlton's latest posts. » [Archived Version]

I just published the first version of a new package, django-unique-user-email. By making the email field of Django’s default User model unique, unique-user-email enables you to login-by-email without having to use a custom user model. I’ve long felt that login-by-email was the one the majority of users wanted, and that custom user models are something of a sledgehammer if you just want to crack that little nut. Unique-user-email, then, shows you how to do it without the custom user model. I…

Read More

Back to School...

Sept. 6, 2023 » Carlton's latest posts. » [Archived Version]

It's been a pretty tough year. As I've written about before, my son has had a long running illness, that has affected him for about 18 months now. Last academic year he wasn't able to return to school at all after Christmas, and has had various stays in hospital in the intervening period. Over the summer he's made good progress, and this morning, now, he's gone off in the car with his siblings, for the first day back at school. (Normally they'd walk, but we're not quite there.) I don't know …

Read More

The Single Folder Django Project Layout

Aug. 16, 2023 » Carlton's latest posts. » [Archived Version]

I added a quick note on how I start a Django project, a Single Folder layout. This makes the startproject folder an installed app, and skips the separate (often idle) startapp folder. I've been using this pattern for a couple of years and really like it. Give it a read: The Single Folder layout. Post on Fosstodon

Read More

Yak-shaving to Where the Puck is Going to Be.

June 8, 2023 » Carlton's latest posts. » [Archived Version]

My talk from DjangoCon Europe 2023. Up on YouTube now It's essentially a quick WHY on Neapolitan, and the coming soon — django-template-partials. It's only short. Do check it out.

Read More

Weeknotes

May 7, 2023 » Carlton's latest posts. » [Archived Version]

The week that was 2023 WK18 A quiet week on the surface, but lots going on underneath. We had medical appointments with my son Wednesday and Thursday. Posted a TIL on CSRF and Trusted Origins in Django 4.x+, after deploying a new project and hitting this issue again. Joined in a few discussions on the Forum, and one on Trac even. (I’m still trying to avoid the latter for now.) Bumped Neapolitan to 23.10, with minor tweaks to the object_confirm_delete.html template. That’s it for now. Mor…

Read More

Incremental Progress

April 30, 2023 » Carlton's latest posts. » [Archived Version]

The week that was 2023 WK17 My son’s illness continues. He’s no better, really, and it looks like there’s not much that doctors are able to offer him. We spent large parts of this week touring various hospitals for appointments with various specialists, all of which resulted in nothing very concrete. More again next week. I doubt there’s much market for a Medical Facilities of Catalonia guidebook. Updating django-filter… I updated django-filter to v23.2. This deprecates the inbuilt methods …

Read More

The first retirement project

April 23, 2023 » Carlton's latest posts. » [Archived Version]

The week that was 2023 WK16. After a couple of weeks of Post-Fellowing Holiday to myself — and handling only the new notifications on anything that isn’t django/django, and even having capacity to engage on the Forum — time to get back to it. Introducing Neapolitan The first retirement project then is Neapolitan, my take on quick CRUD views for Django. The README example is the core of it… I have a Django model: from django.db import models class Bookmark(models.Model): url = models.URL…

Read More

Django's upcoming steering council elections

April 23, 2023 » Carlton's latest posts. » [Archived Version]

The Django 5.x Steering Council Candidate Registration is now open. The official announcement is here In contrast to previous runs, more or less, if you’re an active member of the Django community then you’re qualified to stand. There have been two such elections since the governance was changed in DEP 10. In both of those we had candidate pools of entirely white men. Nothing wrong with those people 🥰 — but that’s not Django Much social capital was spent adjusting the rules in DEP 12 to al…

Read More