# orderedItems[].object.content
I think I have a bit of a unique child.

My 3 year old will correct us when we refer to colours without sufficient specificity. He does things by the book.

If we call something blue, and it's cyan, he's going to pick us up on our poor colour recognition.

# orderedItems[].object.contentMap.en
I think I have a bit of a unique child.

My 3 year old will correct us when we refer to colours without sufficient specificity. He does things by the book.

If we call something blue, and it's cyan, he's going to pick us up on our poor colour recognition.

# orderedItems[].object.content
@felixxm that's a cool medal! Well done 👏

# orderedItems[].object.contentMap.en
@felixxm that's a cool medal! Well done 👏

# orderedItems[].object.content
@adamchainz OOOoooo. That explains it, as does me not being very good at reading those blocks.

I've installed uv and also forked your ansible setup recently.

So when my stacktrace goes back through to uv python that's why it worked last week but not this week!

# orderedItems[].object.contentMap.en
@adamchainz OOOoooo. That explains it, as does me not being very good at reading those blocks.

I've installed uv and also forked your ansible setup recently.

So when my stacktrace goes back through to uv python that's why it worked last week but not this week!

# orderedItems[].object.content
Not really sure why yet, but my djangoproject.com test suite is broken because it can't import the "test" regression library for the blog tests 🤔 👀

https://docs.python.org/3/library/test.html#test.support.captured_stderr

#Django

# orderedItems[].object.contentMap.en
Not really sure why yet, but my djangoproject.com test suite is broken because it can't import the "test" regression library for the blog tests 🤔 👀

https://docs.python.org/3/library/test.html#test.support.captured_stderr

#Django

# orderedItems[].object.content
Switching back to my banana switches because the blues have a habit of waking my kids up 😬🤫

# orderedItems[].object.contentMap.en
Switching back to my banana switches because the blues have a habit of waking my kids up 😬🤫

# orderedItems[].object.attachment[].name
Half a Keychron K8 keyboard with letter caps removed to swap blue (clicky) switches for quieter banana switches

# orderedItems[].object.content
Hotel booked for Dublin 👀 👏

#DjangoConEurope

# orderedItems[].object.contentMap.en
Hotel booked for Dublin 👀 👏

#DjangoConEurope

# orderedItems[].object.content
Written a little about translating plain text in django.

https://markw.co.uk/django/translating-plain-text/

#python #django

# orderedItems[].object.contentMap.en
Written a little about translating plain text in django.

https://markw.co.uk/django/translating-plain-text/

#python #django

# orderedItems[].object.content
Hmm. A command line commit triggered a gpg passphrase prompt. Maybe the pycharm commit hit that & didn't know what to do with it.

# orderedItems[].object.contentMap.en
Hmm. A command line commit triggered a gpg passphrase prompt. Maybe the pycharm commit hit that & didn't know what to do with it.

# orderedItems[].object.content
Oh dear.

Been faffing with my shell setup and it would appear I've broken my gpg signing 👀 😬

# orderedItems[].object.contentMap.en
Oh dear.

Been faffing with my shell setup and it would appear I've broken my gpg signing 👀 😬

# orderedItems[].object.attachment[].name
git commit output following failure to sign the commit.

# orderedItems[].object.content
Anybody here worked with django & a redis cluster?

I'm finding very little written about it and a usual `cache.get()` doesn't seem to work with the cluster complaining that "SELECT is not allowed in cluster mode"

I had hoped the way the application interacts with the cache wouldn't need to change and it'd be handled by the cache backend or the cluster itself.

# orderedItems[].object.contentMap.en
Anybody here worked with django & a redis cluster?

I'm finding very little written about it and a usual `cache.get()` doesn't seem to work with the cluster complaining that "SELECT is not allowed in cluster mode"

I had hoped the way the application interacts with the cache wouldn't need to change and it'd be handled by the cache backend or the cluster itself.

# orderedItems[].object.content
@psyonara I imagine if you read the whole docs there'd be things you'd forget because there's so much there.

# orderedItems[].object.contentMap.en
@psyonara I imagine if you read the whole docs there'd be things you'd forget because there's so much there.

# orderedItems[].object.content
@SwiftOnSecurity Ah those were the days. Before everyone wanted to be apple.

# orderedItems[].object.contentMap.en
@SwiftOnSecurity Ah those were the days. Before everyone wanted to be apple.

# orderedItems[].object.content
@adamchainz Yeah it's going to be useful. I might just need to run counts on prod before I use it incase I end up trying to stick a dict of millions of rows into memory!

And there's another one I've not used before!

# orderedItems[].object.contentMap.en
@adamchainz Yeah it's going to be useful. I might just need to run counts on prod before I use it incase I end up trying to stick a dict of millions of rows into memory!

And there's another one I've not used before!

# orderedItems[].object.content
To clarify, I've been working with Django since about 1.4 and never spotted this.

By including it just now, I've taken a loop over 253 items which collects a value from a queryset outside the loop twice.

So that was 506 database calls, that are now 506 dictionary lookups. It's always good to do a review of efficiency after you've bodged something together.

(for those unfamiliar with a bodge - https://www. collinsdictionary.com/dictiona ry/english/bodge)

# orderedItems[].object.contentMap.en
To clarify, I've been working with Django since about 1.4 and never spotted this.

By including it just now, I've taken a loop over 253 items which collects a value from a queryset outside the loop twice.

So that was 506 database calls, that are now 506 dictionary lookups. It's always good to do a review of efficiency after you've bodged something together.

(for those unfamiliar with a bodge - https://www. collinsdictionary.com/dictiona ry/english/bodge)

# orderedItems[].object.content
Just found the `in_bulk()` queryset method thanks to the Pycharm AI assistant!

Never used this before, but was looking to make some efficiency improvements on a management command.

https://docs.djangoproject.com/en/4.2/ref/models/querysets/#in-bulk

#django #python #pycharm

# orderedItems[].object.contentMap.en
Just found the `in_bulk()` queryset method thanks to the Pycharm AI assistant!

Never used this before, but was looking to make some efficiency improvements on a management command.

https://docs.djangoproject.com/en/4.2/ref/models/querysets/#in-bulk

#django #python #pycharm

# orderedItems[].object.content
@nik @sethmlarson yeah sorry, new to me! 😂

# orderedItems[].object.contentMap.en
@nik @sethmlarson yeah sorry, new to me! 😂

# orderedItems[].object.content
@sethmlarson that's a new niche!

# orderedItems[].object.contentMap.en
@sethmlarson that's a new niche!