#30083: Model instance state not correctly set when initializing a model with
Model.from_db()
-------------------------------------+-------------------------------------
Reporter: Sebastiaan ten Pas | Owner: Nasir
| Hussain
Type: Bug | Status: closed
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"506f800eadea2ab8c9d90f00278b4b03f3a9b771" 506f800e]:
{{{
#!CommitTicketReference repository=""
revision="506f800eadea2ab8c9d90f00278b4b03f3a9b771"
[2.2.x] Refs #30083 -- Added a warning about performing queries in
pre/post_init receivers.
Thanks Carlton Gibson the review.
Backport of fc1182af01c391ce33d7fcf51c756829c6a11d5b from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30083#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.a34f35e1f5a60dac2594225df6018968%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.