News for hackers. Stuff that matters.
Re:Django 4.0 by _tardigrade on Tuesday December 07, 2021 @08:36AM (#29472266)
nowadays most people use Django to create REST API. I wish Django would merge DRF into its codebase.
Re:Django 4.0 by dralley on Tuesday December 07, 2021 @12:21PM (#29475350)
At this point I disagree - DRF is a verbose and somewhat dated architecture. I wish they would provide something like Django Ninja / FastAPI.

Plus it already has decent async support.

https://github.com/vitalik/django-ninja

Re:Django 4.0 by mrweasel on Tuesday December 07, 2021 @08:54AM (#29472433)
> nowadays most people use Django to create REST API

I doubt that's true, but yes, having DRF merged in would be rather nice.

Re:Django 4.0 by PhoenixReborn on Tuesday December 07, 2021 @12:58PM (#29475900)
There are quite a lot of apps that do a JS frontend and Django backend these days, I myself have done quite a few.
Re:Django 4.0 by mrweasel on Tuesday December 07, 2021 @01:26PM (#29476244)
Absolutely, I just question the premise that “most” Django applications are like that.

My best guess, and I have nothing but my own experience to back this up, is that for every public facing Django based website, there are at least three used internally and at least one of those use nothing but the build in admin interface as a UI.