#25445: `AttributeError` when `app_config` is missing attribute `models_module`
in
contenttypes/management.py
-------------------------------------+-------------------------------------
Reporter: pygeek | Owner: pygeek
Type: | Status: closed
Cleanup/optimization |
Component: Uncategorized | Version: 1.8
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* status: assigned => closed
* resolution: => needsinfo
Comment:
Have you encountered an error in practice or are you simply suggesting
this fix based on code inspection?
Considering that `AppConfig.__init__` assigns `self.models_module = None`,
I fail to see how `models_module` can be missing.
--
Ticket URL: <https://code.djangoproject.com/ticket/25445#comment:4>
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.eb7e3fa1cab3fa7f30662119b5f98bf4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.