Quantcast
Channel: Josh Thomas
Browsing all 225 articles
Browse latest View live

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 Article


Article 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 Article


Article 1

And it starts... What am I getting myself into?

View Article

Article 0

Secured the PyPI package name 👍https://pypi.org/project/django-lsp/

View Article

Article 2

Some days I really love my job and some days I wonder why I even try. Today was the latter 😞

View Article


Article 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 Article

Article 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 Article

Article 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 Article


Article 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 Article


Article 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 Article

Article 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 Article

Article 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 Article

Article 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 Article


Article 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 Article

Article 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 Article


Article 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 Article

Article 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 Article


Article 1

Roll Tide

View Article

Image may be NSFW.
Clik here to view.

Article 0

Roll Tide

View Article

Article 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
Browsing all 225 articles
Browse latest View live