#32660: Endless loop upon delete
-------------------------------------+-------------------------------------
Reporter: kr | Owner: exec-life
Type: Uncategorized | Status: assigned
Component: Database layer | Version: 3.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by kr):
Replying to [comment:1 Tim Graham]:
> You should explain why Django is at fault and not your custom
`__init__()` method, and ideally propose some solution.
The only thing my custom `__init__()` method does is retrieving model
attributes and saving them to local variables. I don't see why this should
be illegal to do, especially because it works except when I try to perform
the delete operations.
In my opinion, the code is simple enough that a "justification" why the
`__init__()` method is not at fault is not needed.
Obviously, django runs into an endless loop with the model initializations
/ fetching the model from the db. This clearly seems to be a fault of the
django framework. Agreed?
--
Ticket URL: <https://code.djangoproject.com/ticket/32660#comment:3>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/060.0154fd75ab7a88b44a6afbd89885a5fd%40djangoproject.com.