Live data from Hacker News

The Decline of Django

david-dahan.com

81–90 of 173 posts

Re: The Decline of Django

#81

If I were to have a Django backend and only be serving Json responses, what combination of methods/libraries are commonly used for that? Such as input validation, client side request sending, etc.

That's probably not the right use case for Django (I say this as someone who defaults to Django for new projects unless there's a compelling reason not to). Something like FastAPI would be better suited to a narrow use case like that, as that's what it specializes in.

I would also prefer to use FastAPI [with Pydantic models] for something like this today too. That said, this is Django + DRF's bread and butter, even if the framework itself is a little dated these days.

Re: The Decline of Django

#82

Eh, "[insert stable, mature MVC framework] is dying/dead/etc" articles are a dime a dozen on the Web. I suppose it could be considered a badge of honor for a framework to have some internet punter declare the framework as "dead". But, just to nitpick... > Bad Official Admin GUI UX For anyone reading, Django's admin tool is designed for situations in which you need to stand up a quick admin or build some internal admi…

I love Django & run it in prod. I had a really tough time figuring out how to customize the Django admin interface.

You need to do a lot of overrides on things [1] and changing up the model / form behaviors etc. gets a bit clunky, but at least is manageable [2].

I will say that 99% of my work is using django+drf for REST API purposes, so I wasn't previously familiar with django templating / forms, etc. - maybe that is where the bulk of the learning curve was.

1 - https://docs.djangoproject.com/en/3.2/howto/overriding-templ...

2 - https://stackoverflow.com/questions/7860612/django-admin-mak...

Re: The Decline of Django

#83
Some of the author's complaints are legit, but they hardly constitute evidence of decline.

First, I figured out how to do Django+Tornado in a day 8 years ago and PyCharm pays for itself over and over, every day.

The rest of the arguments might deserve mention in a conversation about how the project could be improved, but it isn't clear to me that they presage Django following Visual Basic down the drain.

I'm sure the Django maintainers would entertain PRs for any clear improvements over what's in place and lacking.

Re: The Decline of Django

#84

Eh, "[insert stable, mature MVC framework] is dying/dead/etc" articles are a dime a dozen on the Web. I suppose it could be considered a badge of honor for a framework to have some internet punter declare the framework as "dead". But, just to nitpick... > Bad Official Admin GUI UX For anyone reading, Django's admin tool is designed for situations in which you need to stand up a quick admin or build some internal admi…

Django fan here, but honest question: is there a Flask admin at least as good as Django admin?

I'd say flask-admin is decent, but I don't think its as good as Django Admin.

https://flask-admin.readthedocs.io/en/latest/

Re: The Decline of Django

#85
post #69

Eh, "[insert stable, mature MVC framework] is dying/dead/etc" articles are a dime a dozen on the Web. I suppose it could be considered a badge of honor for a framework to have some internet punter declare the framework as "dead". But, just to nitpick... > Bad Official Admin GUI UX For anyone reading, Django's admin tool is designed for situations in which you need to stand up a quick admin or build some internal admi…

"Eh, "[insert stable, mature MVC framework] is dying/dead/etc" articles are a dime a dozen on the Web. I suppose it could be considered a badge of honor for a framework to have some internet punter declare the framework as "dead"." Well said, people confuse hype, growth with death. If something is not hyped or people some folks are switching to something else then it is prematurely declared "as dead" which is a falla…

> It is now official. Netcraft has confirmed: BSD is dying One more crippling bombshell hit the already beleaguered BSD community when IDC confirmed that *BSD market share has dropped yet again, now down to less than a fraction of 1 percent of all servers

Re: The Decline of Django

#86

1) Documentation is too verbose 2) Onboarding new developers lacks IDE specific tooling for free 3) Admin GUI isn't great 4) Async support is still incomplete 5) Static types aren't used in Django 6) Django is MVC which isn't useful if you just need a light V 7) People ignore other, newer tech because Django exists What??? 4 and 5 are legit complaints, the rest is literally the nittiest of picks, in my opinion. You d…

This was my response exactly. The article is a list of nits, not major issues, and most are not about the framework itself, but rather things like tooling conveniences.

I'm surprised someone finds room to criticize the Django docs. It's got the best docs of any web framework I've used in the past decade. It's great to be able to find everything you need easily in one place and not have to go searching for Stack Overflow answers or blog posts just to solve common problems.

Re: The Decline of Django

#87

What’s better?

I don't think this question is answerable so abstractly. It really depends what you're trying to build and what the technical constraints are.

There are so many architectures, API approaches, frameworks, and languages these days. Almost any one could be argued as being better or worse off of different criteria.

Also Django being batteries included makes most comparisons very apples to oranges. Even comparing a basic CRUD web app / API in Django + DRF to Flask means pulling in like a dozen packages to help vs just the one with Django.

In the world of Python web frameworks specifically, FastAPI is really nice these days for a lot of REST API type use cases.

Re: The Decline of Django

#88
post #77

> Django looks like the 40 years old guy who feels "in" using Facebook, while everyone else is already using Instagram or TikTok. wow fuck ageist bullshit like this. everyone knows I'm no big Django advocate but what is the point of a blog post like this? I'm not seeing how effort spent on writing articles like this makes the world better for anybody, including the author. Go create something? >But what if tomorrow,…

[deleted]

Re: The Decline of Django

#90
post #76

I don't understand why a Python programmer would move from PyCharm to VS Code. PyCharm is pretty perfect as far as I can tell. I've tried to move to VS Code a few times to keep up with the cool kids, but I always seem to run into weird problems.

I agree. VS Code is a perfectly nice general purpose IDE but for Python work there’s really no comparison to PyCharm.
Post reply on HN