#26686: django.core.checks.model_checks _check_lazy_references raises TypeError
with NoneType model_key
--------------------------------------+------------------------------------
Reporter: bretth | Owner: nobody
Type: Bug | Status: new
Component: Core (System checks) | Version: 1.10
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):
* cc: AlexHill (added)
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
Comment:
Obviously it would be better not to crash, however, isn't it a requirement
to put `model_utils` in `INSTALLED_APPS` if you want to use any models
from it?
After doing that with the sample project, this error is reported,
`model_utils.fields: (signals.E001) Bound method
'MonitorField._save_initial' was connected to the 'post_init' signal with
a lazy reference to the sender 'model_utils.statusmodel', but app
'model_utils' doesn't provide model 'statusmodel'.` I'm not sure if it's
correct -- the model is there, although it's abstract (no problems with
Django 1.9).
--
Ticket URL: <https://code.djangoproject.com/ticket/26686#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 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/064.ec1f1ca0dc098f65340d98da51346df1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.