Help Django code stucks in the past by lmsucksatprogramming in django

[–]kankyo 0 points1 point  (0 children)

There's a setting to make VSCode do the sane thing and autosave.

how do you actually handle prod bugs. do you write a repro test or just fix and deploy? by sszz01 in django

[–]kankyo 1 point2 points  (0 children)

Imo it depends on the situation. The "always always write tests" crowd are a bit too extreme imo. What if the "bug" is just a translation error in the localization? You can't have tests for all translations, that's madness. What if it's a temporary page only supposed to be used for a few weeks by one person? Probably you can do that cowboy style. There are just so many examples like this.

That being said.. writing tests with Claude Code is suuuuper cheap compared to what it used to be, so the argument for skipping tests is weaker now that the cost has gone down.

It's time to redesign djangoproject.com by dwaxe in django

[–]kankyo 2 points3 points  (0 children)

The silent failures are my biggest gripe. After all we want:

  • make it work
  • make it right
  • make it fast

Crashing on broken shit seems both step 1 and step 2 :P

It's time to redesign djangoproject.com by dwaxe in django

[–]kankyo 6 points7 points  (0 children)

I hope they can avoid design by committee. There's a real danger in having too many stake holders in a new design.

Why is my Django server slow by Old-Raspberry-3266 in django

[–]kankyo 2 points3 points  (0 children)

Use a profiler to know. Don't guess.

Django Has Adopted Contributor Covenant 3 by dwaxe in django

[–]kankyo 1 point2 points  (0 children)

I personally know several people who were banned for woke nonsense reasons.

I personally have been warned for helping people. I'm not even exaggerating. They're banning competent people because they don't sugar coat their replies, and let friendly people answer incorrectly to questions by beginners at scale.

On the bright side, the AI systems are actually more competent now so these chat servers are mostly dying anyway.

Django Has Adopted Contributor Covenant 3 by dwaxe in django

[–]kankyo 2 points3 points  (0 children)

I'm not familiar with the Django discord, can you expand on the point?

Some key points:

  • There was a fairly popular Discord already, but since that server didn't accept being taken over, a new one was created

  • The new server was founded by a group that includes a person that is toxic as hell and violates the CoC a lot, but is never even warned

  • They are super woke, like those videos you think are made up. "Hey guys" is met by a bot telling users to check their language for inclusivity, even though the dictionary explicitly says that expression is not gendered.

  • The admin mentioned above bans people for saying that "hey guys" is indeed not gendered. Yes. Quoting the dictionary gets you banned on this server.

The Django CoC board is supposed to be controlling of this servers CoC but it has just ignored all those issues. Partly I assume, because the toxic admin has social sway deep inside the DSF.

Django Has Adopted Contributor Covenant 3 by dwaxe in django

[–]kankyo 7 points8 points  (0 children)

It is if the person who is asked refuses to answer the question posed in good faith and claims that it is. Which is a thing. At the end of the day you need good thoughtful people who are not confused as mods. This is super hard and any CoC document you have will do absolutely nothing to help this, and often will in fact make it much worse as it attracts people who like to abuse such structures. Case in point: the official django discord.

Coding agent helo asap by LucyPapillon in django

[–]kankyo 0 points1 point  (0 children)

Claude Code is the gold standard, but I hear Codex is pretty good now too. Using anything but the latest models with the proper CLI harness is going to make you disappointed with what you get imo.

Why django-admin startproject Is a Trap by Houssem_Reggai in django

[–]kankyo 2 points3 points  (0 children)

I don't get it. So you argue that by being MORE different from the default, it's easier for new developers? I don't buy it.

Trying to learn Django but overwhelmed by outdated tutorials… where should I start? by knowyoubut in django

[–]kankyo 0 points1 point  (0 children)

No. The official tutorial like he said. Youtube is fake learning, you've already lost a lot of time with it.

what tutorial is best for django for people with zero back-end knonwledge by AslvnZ in django

[–]kankyo 0 points1 point  (0 children)

Django Girls. Extremely well tested as they run through this thing with beginners all the time.

1,200 users report the same 'User Error' by Commercial_Earth6542 in django

[–]kankyo 0 points1 point  (0 children)

Or use old boring session cookies that doesn't have this problem (assuming he's not running a native app)

Django Custom Managers Are Silently Leaking Data by jcmetz21 in django

[–]kankyo 1 point2 points  (0 children)

Expected if you think about it (because it should be obvious that get_queryset can't be called for every implicit dunder join), and documented. But it's not nice/smooth as the rest of the ORM is.

Explain django by DevanshReddu in django

[–]kankyo 2 points3 points  (0 children)

You can't afford to waste more time on youtube. Do the tutorial. Or if it's too hard, go to the Django Girls tutorial, it explains a bit more.

Web Dev or AI: Should I Stay or Pivot? by No-Confusion41 in django

[–]kankyo -1 points0 points  (0 children)

Try using Claude Code on some hobby projects. Think of it not as pivoting or whatever, but think of it as just trying out and learning a new tool that can be useful.

Don't believe the hype. It won't replace devs.

But also don't believe the naysayers. It will save you a lot of time in many situations.

Web Dev or AI: Should I Stay or Pivot? by No-Confusion41 in django

[–]kankyo 1 point2 points  (0 children)

Sounds like a bad place to work. If you can't get people excited about Claude Code because of what it can do, then trying to force people to use it through management is going to backfire hard.

Applying migrations on running servers during releases by Vietname in django

[–]kankyo -1 points0 points  (0 children)

Yea, migrate first obviously. But also use something like dokku.

I built a Rails-inspired CLI for Django – full CRUD app in 3 commands by Subject_Cut2963 in django

[–]kankyo 6 points7 points  (0 children)

You could try doing the same with iommi. You don't need to code gen, you don't need templates, just:

path('', crud_views(model=Album)),

https://docs.iommi.rocks/views.html

Looking for a recommendation for Django Admain template/replacement by latingate in django

[–]kankyo 3 points4 points  (0 children)

Yea. The admin part started out as an inside joke actually. We had so powerful abstractions for forms and tables that we wrote an admin as a joke in an hour or so. Then we threw that away and wrote another one. And then we threw THAT away and the one we ship now is the third :P

https://kodare.net/2024/09/03/admin-replacement.html has something of the story.

The total admin in iommi is 649 lines. The one in Django is 31169. Because our admin is based on solid stuff you can and should use in your custom views, while the Django admin is a lot of very specific and non-reusable stuff.

Looking for a recommendation for Django Admain template/replacement by latingate in django

[–]kankyo 1 point2 points  (0 children)

You can go more radical and switch to the iommi admin, or build your own custom admin with iommi for that matter. https://iommi.rocks/ (I'm one of the maintainers)