django / django/new-features

Make it easier to develop async APIs

Open
#20 9 comments 15 reactions 0 assignees View on GitHub
Async
Dominant language
No language data
Stars
188
Forks
7
PR merge metrics
No merged PRs in 30d

Description

### Code of Conduct

- [x] I agree to follow Django's Code of Conduct

### Feature Description

If now I want to develop API I ll use Django rest framework, but it does not have any support for async views .

It is too frustrating to develop a simple streaming chat application.
We now have most of the components in place like StreamingHttpResponse and async views .
I know http content parsing is also being worked on.

We should have a native way to develop APIs because it is needed for many projects and many people use js frameworks for frontend.

What is missing,

Serializers like abstraction
Class based API views
CORS

### Problem

Async API development

### Request or proposal

request

### Additional Details

_No response_

### Implementation Suggestions

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by reviewing Django's existing async views and StreamingHttpResponse, then assess the requested serializer-like abstraction, class-based API views, and CORS support. The issue does not define a concrete completion criterion, so the desired API scope must be clarified first.

Written by the indexing model from the issue text.

Assessment

Tech stack
django
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.