django-planet

Blog: Carlton's latest posts

web https://noumenal.es/posts/feed/
Author

Neapolitan 24.2 release

Feb. 2, 2024 » Carlton's latest posts. » [Archived Version]

A quick flit publish and Neapolitan 24.2 is available on PyPI. $ pip install -U neapolitan Go get yours now! šŸš€ Quicker template overrides The release adds a new mktemplate management command, that lets you quickly bootstrap an override of your active neapolitan templates, on a per model and per CRUD action basis. This makes ā€Oh, I need to customise the list templateā€ much easier, so you donā€™t have to break your flow. Basic usage is like this: $ ./manage.py mktemplate cakeshop.Ingredient ā€¦

Read More

Software Developers

Feb. 2, 2024 » Carlton's latest posts. » [Archived Version]

Software developers are a funny bunch. They know that thereā€™s ā€œNo Silver Bulletā€ ā€” that this weekā€™s management fad isnā€™t going to make Marketingā€™s deadlines any more realistic than last weekā€™s. They know that ā€œ10xā€ is just what sweatshop startups tell youngsters, so theyā€™ll die on the hill, for those toilet paper options. But you tell ā€˜em that a new framework, or a new database, or a new templating language is going to change to the world, and theyā€™re all over it. You think weā€™d learn.

Read More

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

Some musings on classes

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

I donā€™t know about you, but I write Terrible Codeā„¢, a lot. Iā€™m always banging on about how classes are mainly a namespace because they give me a very neat way of containing that terror whilst Iā€™m working out the details of my code. Iā€™ve done plenty of functional programming in my time, and I like it, Iā€™m a fan. But my experience is that functional composition gets messier, more quickly, and is harder to both contain, and comprehend, than breaking things up in a class. Iā€™m not so confident ofā€¦

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

A Quiet Summer šŸļø

July 26, 2023 » Carlton's latest posts. » [Archived Version]

Iā€™m not doing much this summer. I had various plans. More or less, theyā€™re on hold. Iā€™m pottering in the background as ever, but nothing public to show currently. My sonā€™s illness, that Iā€™ve written about several times, is ongoing. Self-care is the top priority, and so itā€™s batten down the hatches. Itā€™s been a long year. Iā€™m hoping things settle down for the autumn. Hoping for normal service to be resumed then.

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