Opened 3 years ago
Closed 3 years ago
#34147 closed New feature (invalid)
Add aall() for related managers.
| Reported by: | Mariusz Felisiak | Owned by: | |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Jon Janzen, Carlton Gibson | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
aall() method (asynchronous versions of all()) should be available for related managers:
AttributeError: 'RelatedManager' object has no attribute 'aall'
Change History (6)
comment:1 by , 3 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 3 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:4 by , 3 years ago
| Owner: | removed |
|---|---|
| Status: | assigned → new |
follow-up: 6 comment:5 by , 3 years ago
Is there really a need for aall() given it doesn't perform any I/O but solely copy objects over?
e.g. There is no QuerySet.aall() like there is no .afilter and no BaseManager.aall?
comment:6 by , 3 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
| Triage Stage: | Accepted → Unreviewed |
Replying to Simon Charette:
Is there really a need for
aall()given it doesn't perform any I/O but solely copy objects over?
e.g. There is no
QuerySet.aall()like there is no.afilterand noBaseManager.aall?
Right 🤦 I withdraw my request.
May i prepare a patch for this one?