Article 3
One thing I wish existed and think could vastly improve working with Django templates would be an LSP. I can see it now — go to definition on a templatetag taking you to the {% load %} tag that brings...
View ArticleArticle 2
I hope something like this either exists or someone else is working on, because I do NOT have the time for yet another side project 🤣
View ArticleArticle 2
Some days I really love my job and some days I wonder why I even try. Today was the latter 😞
View ArticleArticle 1
“Can’t we just go back to the old app” — the person that said this probably didn’t mean it to be as harsh as I took it, but it was a really demoralizing thing to hear. Especially since I’ve been...
View ArticleArticle 0
On top of being the dev, ops, DevOps, QA, designer, project manager, system architect, supervisor — and doing an okay job most days juggling all of that — but hearing that statement and dealing with...
View ArticleArticle 19
Minimal repro in a public gist as a sanity check -- https://gist.github.com/joshuadavidthomas/f4bf90790d5d8ca11ad378f4b042d73aBased on reading the Typer docs, they both should work the same, but they...
View ArticleArticle 18
It doesn't help that while the Typer docs are nice for a tutorial, they are infuriating as an API reference. The giant animated terminals I'm sure are great for beginners, but frustratingly bare when I...
View ArticleArticle 2
One thing I really miss when working primarily with Django from the React/JS frontend world is Tanstack Query style caching. Meaning you set a cache key as a list, e.g. `[ “invoice”, “lists”]` or...
View ArticleArticle 1
Pretty sure Django’s built in cache framework is too low level and doesn’t offer this out of the box. Is there a third party package that does this and I just don’t know about it? Or have I stumbled in...
View ArticleArticle 0
I did a poor job explaining how the query keys work, but if you’ve used tanstack query you know how easy and powerful it is.
View ArticleArticle 1
Really love it when a hosting plan is advertised as "unlimited" but when you read the terms of service, it's actually capped at 100 GB.
View ArticleArticle 0
Of course, if you look at the main website prices, it includes a storage cap, which is at odds with what's shown in the management panel. 🙃
View ArticleArticle 2
Ya know, accessing a Django project from outside the project.. they don’t make it easy and straightforward 🙃No wonder there isn’t already an LSP for Django
View ArticleArticle 1
I’m putting both the project and the virtualenv are in the path and when I call `django.setup()` the server just crashes. Even with a try catch, nothing.. no logs, no prints, just quits right there...
View ArticleArticle 0
Confusingly, if I use separate terminals (I normally use tmux windows) the debug messages I put after `django.setup()` to send from the lsp server to the client actually show up. The setup call still...
View ArticleArticle 1
Spent the morning playing with HTMX and Alpine.js to replace the React component currently handling search in a work app. What a breath of fresh air! One view with template partials and it feels so...
View Article