logoalt Hacker News

Django 6

262 pointsby wilhelmkloppyesterday at 9:09 PM125 commentsview on HN

Comments

nickjjtoday at 1:52 AM

Congrats to the Django team!

If anyone is curious, I've been maintaining a Docker Compose based Django + Celery + Postgres + Redis + esbuild + Tailwind starter app for years and just updated it for Django 6.0 at https://github.com/nickjj/docker-django-example.

The only thing I haven't done is pre-configure the new CSP settings because I want to let that marinate a bit before putting it in as a default.

show 4 replies
stevexyesterday at 10:13 PM

One thing Django has going for it is that the "batteries included" nature of it is perfect for AI code generation.

You can get a working site with the usual featuers (admin panel, logins, forgot reset/password flow, etc) with minimal code thanks to the richness of the ecosystem, and because of the minimal code it's relatively easy for the AI to keep iterating on it since it's small enough to be understandable in context.

show 8 replies
Genegoyesterday at 11:48 PM

Django has been one of the biggest reasons why web development has been so enjoyable to me. Whenever I switched to something else, I just felt too spoiled by everything that Django gives you. So I always ended up back with Django, and have no regrets at all specializing deep down that path.

show 3 replies
sroerickyesterday at 10:01 PM

Django was my first big freelance project, and still feels tremendously cozy to use. I've done some goofy things with it and it's always served me really well. Thank you Django

spapas82yesterday at 10:58 PM

Using Django for almost 15 years, almost exclusively, for both business and personal projects. Have tried a lot of other frameworks, nothing clicks so good with me.

My only (small) complain with this release would be that they included the task framework but didn't include a task backend and worker. I'd prefer to wait a bit and include everything in the next version.

show 1 reply
nadermxyesterday at 9:41 PM

Django's batteries included setup makes it a no brainer for almost any project big or small. Kudos to the team and contributers

yakkomajuritoday at 3:52 AM

Django is awesome. Congrats team on the release!

Sad to see so little stuff related to async though :(

willahmadyesterday at 10:04 PM

Django is awesome, but I wish there was an easy way to use modern web frameworks with it.

A lot of times it's either through Nextjs/Nuxtjs + Django as an API or complex bundling process which requires a file where you register bundle versions/manifests then another build process which embeds them into template

both are so complex

show 4 replies
sparklingmangoyesterday at 9:45 PM

Whenever I use Django, I enjoy it. Simple as.

wg0yesterday at 9:48 PM

Can someone remind me how we ended up in the SPA era and why exactly? Was it about not seeing the loading spinner? Or there were more reasons to it?

show 10 replies
Arbortheusyesterday at 11:08 PM

I love Django. Thanks Django people, keep making great stuff.

gnulinux996yesterday at 10:33 PM

What is the Java equivalent of Django?

I really love django and everything around it, but I would also like to write a webapp in Java.

Getting django + rest_framework up and running and actually be productive takes me max 10 minutes, trying to do the same with spring boot I am a week in and I had to open the jakarta specs to understand the magic.

show 4 replies
cl42yesterday at 11:19 PM

> Background Tasks.

Amazing. If this means no more management of Celery workers, then I am so happy! So nice to have this directly built _into_ Django, especially for very simple task scheduling.

show 2 replies
personjerryyesterday at 10:23 PM

Do you guys find Django includes enough batteries? Why or why not?

I find myself using Cookiecutter Django [^1] more often than not, better auth, a bunch of boilerplate configs, S3 and email setups if you want, and other stuff rather than have to jiggle with "Django infra" myself

[^1]: https://github.com/cookiecutter/cookiecutter-django

theoldgreybeardtoday at 1:18 AM

Django is awesome. I just prefer Rails because I prefer Ruby as a language. If you like Python then Django will get you very far.

show 1 reply
blorenzyesterday at 10:56 PM

Django powers my SaaS. I use it mainly as a data backend with its ORM, admin, and incorporate Strawberry graphql into it for the data exchange to my frontends. I wish it was better with async, though.

show 1 reply
ianberdinyesterday at 9:42 PM

Thanks to Django. I got into the webdev world so easily.

Curious, how come Django started to make major versions instead of 1.*?

Can be the decreasing in popularity the reason to make Something to change it?

show 1 reply
echelonyesterday at 9:39 PM

Show of hands for backend web services development -

Who uses Django, Rails, or similar full-featured frameworks?

Who uses micro-frameworks like Flask?

Who uses enterprise Java, Jetty, Dot Net, etc.?

Who uses an entirely Javascript stack?

Who uses a non-traditional language that has become more web-servicey, like Go, Rust, or Swift?

Who uses something so wildly untraditional that it's barely mentioned? OkCupid using C++, etc.?

Who uses an entirely custom framework (in any language)?

Would really love to see a break down of who is using what, how people feel about their tech stack, etc.?

show 15 replies
sergiotapiatoday at 12:16 AM

Django needs a marketing push. I opened the website and immediately it smells like a 2011 web framework. Like CakePHP. Like Zend. Like Kohana.

The site makes the project feel extremely dated, which of course I have no idea how true that is, I've never used Django! Just my 2c from an outsider.

I compare it to Phoenix and Rails. (again, talking PURELY marketing here dudes!)

https://www.phoenixframework.org/

https://rubyonrails.org/

show 1 reply
alex1138yesterday at 10:04 PM

Duh-jango