web | https://noumenal.es/posts/feed/ |
---|---|
Author |
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 MoreFeb. 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 MoreDec. 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 MoreOct. 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 MoreOct. 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 MoreSept. 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 MoreAug. 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 MoreAug. 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 MoreJuly 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 MoreJune 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