Opened 3 years ago
Closed 3 years ago
#33824 closed New feature (duplicate)
Django create don't return created object when triggers are fired
| Reported by: | Mohammad Ali Mehdizadeh | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | 3.2 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I have a table with some triggers on before update and modify some data.
when an object is created, the returned object is not the same as I get an object from the table.
Manager.create return object as the user inserted, not the real object in the database.
Change History (2)
comment:1 by , 3 years ago
| Component: | Uncategorized → Database layer (models, ORM) |
|---|---|
| Type: | Uncategorized → Bug |
| Version: | 4.0 → 3.2 |
comment:2 by , 3 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
| Type: | Bug → New feature |
Note:
See TracTickets
for help on using tickets.
Duplicate of #21454.