this post was submitted on 09 Jan 2025
19 points (95.2% liked)

Django

438 readers
4 users here now

Django Project

Django Community

Django Ecosystem

Jobs
Learning/Docs
Podcasts:
Related Fediverse communities
Feeds

founded 2 years ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 1 week ago

It's a cool idea, but the way it tightly couples itself to a model, forcing db calls for something like this kinda ties your hands.

For high-content sites like blogs for example, the idea that a template tag would kick out to the db for every post on the page is too much.

Instead, it'd be nice to decouple the bot detection from the gibberish generation so you could do useful things like precache the gibberish in Redis or on your content object directly and then just do {% if is_bot %}{{ post.gibberish }}{% else %}{{ post.content }}

[–] [email protected] 2 points 1 week ago

I like the spirit of this, but I'd never introduce a third party dependency into production for such a use-case.

[–] [email protected] -3 points 1 week ago

Petty and useless, low quality content gets filtered out.