News for hackers. Stuff that matters.
Re:Django SQLite Production Config by anze3db on Saturday June 15, 2024 @05:35AM (#40688597)
Hey HN! I'm the author of the blog post. I didn't mention this in the post, but I'll try to merge some of these settings into Django by making them the new default or the default for new projects created with the start project command.

Any feedback on all of this is greatly appreciated!

Re:Django SQLite Production Config by stefanos82 on Saturday June 15, 2024 @05:58AM (#40688683)
When you say " I'll try to merge some of these settings into Django by making them the new default or the default for new projects created with the start project command", you mean you are a Django core developer and you plan to make them as part of the Django project?

If you are, YES PLEASE! :D I would love to have those settings as my default configuration, because the majority of my projects are tiny to small to between-small-and-medium size, therefore SQLite is more than enough for me.

Re:Django SQLite Production Config by anze3db on Saturday June 15, 2024 @06:07AM (#40688723)
I'm not a Django core dev, but I have managed to get my changes merged into Django already (the transaction_mode setting in 5.1 was my contribution).

Carlton does seem to be onboard with my idea[0], so I'm optimistic that we can make it happen. Comments like yours will help me make my case so thank you for that!

[0] https://fosstodon.org/@carlton/112605212812578926

Re:Django SQLite Production Config by nprateem on Saturday June 15, 2024 @06:08AM (#40688728)
Another +1 from me then. I've had to litter my code with retries to recover from DB locks.
Re:Django SQLite Production Config by anze3db on Saturday June 15, 2024 @06:15AM (#40688753)
That's rough. Is your code using transactions? If so, making sure you use `begin immediate` will help!
Re:Django SQLite Production Config by cqqxo4zV46cp on Saturday June 15, 2024 @06:40AM (#40688854)
IIRC Django has rightfully killed the whole “core dev” thing. And, in reality, new contributors are getting PRs merged constantly.
Re:Django SQLite Production Config by anze3db on Saturday June 15, 2024 @06:50AM (#40688896)
I can confirm. My experience contributing has been very positive!
Re:Django SQLite Production Config by belter on Saturday June 15, 2024 @07:52AM (#40689190)
Django is a critical project, and I am sure your contributions are of high quality. But making it too easy to get new contributions in, somehow raises other concerns around the project governance.
Re:Django SQLite Production Config by anze3db on Saturday June 15, 2024 @02:13PM (#40691536)
Don't get me wrong, the PR review is still rigorous and can take weeks. But everybody I interacted with during the process was very supportive and helpful, so the overall experience was great!
Re:Django SQLite Production Config by kakulukia on Saturday June 22, 2024 @05:12AM (#40757576)
Thx for this!