Adam Johnson @firstname.lastname@example.org
@django technical board member
🍕 London Django Meetup Organizer with @cgl & Marco
✍️ adamj.eu/books/ - Boost Your Django DX, Speed Up Your Django Tests
This is a member of another server. See their original profile ➔
@itamarst ah, now I have more type-checkign experience, I'd say that probably isn't true... 'Any' should definitely be used for args/kwargs, Mypy now has special handling for that, even.
@CodenameTim check out @jacob ’s posts about all things hiring: jacobian.org/posts/
A fantastic resource
#GitHub Uptime X when
@wsvincent nothing apart from feasible shapes for the response.
@wsvincent Unless you gave the facts to the chat bot in your prompt, treat everything it says as bullshit. Even then with the facts in front of it often bullshits.
I tried: “When did Django reintroduce generic function-based views?”.
One response: “ Django reintroduced generic function-based views in version 3.1, which was released on August 3, 2020….”
Another: “ Django never reintroduced generic function-based views because they were not removed from the framework.”
It knows nothing…
@wolframkriesing The best way is to remove permission to update the table from your database user. Then you can guarantee the table isn't changing.
@ramiboutas Nice one. Code smarter not harder!
Just one tip though, I recommend against using __all__, it makes it too easy to add a private field and have it show up in user facing forms without realising it.
@dabeaz I am having a pleasant experience advertising on Read the Docs: fosstodon.org/@adamchainz/1100
@carlton nice, that's a cute game
I learned my flex and grid from this book, which is also very interactive:
@CodenameTim Ah right. Yeah maybe that could work then.
@CodenameTim hmm, if it would have to render a template to do so, it might not be the potential overhead on every request.
@mariatta personally I do pun hard
✍️ New post on writing robust and performant #Django template context processors
Helium King versus maths
@adamghill yeah for sure the postgres full text capabilities need more guidance. An article would be nice, a topic guide in the docs even nicer.
@pgcd I think it’s worth filing then, at least there could be a documentation clarification
@pgcd I can imagine it would be accepted to combine the annotations, or perhaps to error if the right hand side has some and it’s not possible to combine. Did you search the ticket tracker?
@jamescooke 12 of each lol
@jamescooke ✅ decide to start extra tasks because of course you’ll be able to do them on top of everything else as this energy will last forever