Opened 5 years ago
Closed 5 years ago
#32102 closed New feature (duplicate)
Add .update(*args, **kwargs) on Django model object
| Reported by: | Akshay Dadwal | Owned by: | Akshay Dadwal |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | 3.1 |
| Severity: | Normal | Keywords: | model, save, update |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Allow queryset_obj.update(*args, kwargs) like behavior on a single Django model instance.
To update a single Django model object, one have to assign values to each Model class attribute and invoke .save(*args, kwargs). Adding an .update(*args, kwargs) method in Django model class.
Change History (2)
comment:1 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 5 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #3182.