#23305: Models that are imported on app's import time are invisible to
makemigrations when the application is relabeld
-------------------------------------+-------------------------------------
Reporter: rafalp | Owner:
Type: | brycecaine
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.7-rc-2
Severity: Normal | Resolution:
Keywords: afraid-to-commit | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by brycecaine):
Tested adding the documentation-item locally, which generated this html
when doing a {{{make html}}}:
{{{
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">Additionally, avoid importing models in __init__.py; doing
so leads to
inconsistent behavior.</p>
</div>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23305#comment:17>
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.b6f1f23d25dc935e2c1af014e15269f3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.