Skip to first unread message

abdul azeez

Sep 14, 2021, 9:44:39 AMSep 14
to Django developers (Contributions to Django itself)
Pls can we make django come with django reest framework settings when you start a project

Adam Johnson

Sep 15, 2021, 5:40:27 PMSep 15
DRF remains an extension to Django. We don't want Django to depend on it.

But you're free to set up a startproject template that includes the settings, and use that.

On Tue, 14 Sept 2021 at 08:44, abdul azeez <> wrote:
Pls can we make django come with django reest framework settings when you start a project

You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Michael Urban

Sep 15, 2021, 7:36:35 PMSep 15
For YEARS I’ve wanted a REST solution included with Django. DRF hasn’t never felt like a great fit for Django projects. It’s very Rails-y.

It would be amazing to have an official Django contrib package for REST.

Never going to happen, but needs to be said.



Sep 15, 2021, 8:59:08 PMSep 15
There are serializers and dictionaries built into the Django models system that I’ve had zero problems leveraging for building out JSON (or REST-like) objects for endpoint purposes. I personally believe integrating DRF into Django would needlessly bloat it. The two play together perfectly fine if you really need them both.

I’d recommend digging around in the guts of Django. You’ll find some pretty neat things there!

Just my 2 cents,

On Sep 15, 2021, at 6:36 PM, Michael Urban <> wrote:

Curtis Maloney

Sep 15, 2021, 9:21:01 PMSep 15
to 'Mike Hansen' via Django developers (Contributions to Django itself)
Additionally, incorporating DRF [or any other 3rd party lib] into core would lock them into Django's release cycle.

As for built-in REST/API features, Django provides `JsonResponse` already, so the main piece lacking is de/serialisers.

The built in serializer framework is well suited to generating fixtures, and _can_ be bent to serialising your data for APIs, but does not provide any solution for validating input.

Our existing input validation solution - Forms - is not so good at handling complex or deeply nested data structures.

However, in recent years tools, like pydantic and marshmallow, have begun filling this space.

One place we could help everyone is by providing a JSON request-body parsing utility.

Reply all
Reply to author
0 new messages