#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:"fc1182af01c391ce33d7fcf51c756829c6a11d5b" fc1182af]:
{{{
#!CommitTicketReference repository=""
revision="fc1182af01c391ce33d7fcf51c756829c6a11d5b"
Refs #30083 -- Added a warning about performing queries in pre/post_init
receivers.
Thanks Carlton Gibson the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30083#comment:8>
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.515c74e05052566baaae601bec742daf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.