#13903: Auto app_label creation fails when model is defined at top-level python
modules
-------------------------------------+-------------------------------------
Reporter: petraszd | Owner: anonymous
Type: | Status: closed
Cleanup/optimization | Version: master
Component: Database layer | Resolution: fixed
(models, ORM) | Triage Stage: Accepted
Severity: Normal | Needs documentation: 0
Keywords: | Patch needs improvement: 1
Has patch: 1 | UI/UX: 0
Needs tests: 0 |
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by aaugustin):
* status: assigned => closed
* resolution: => fixed
Comment:
The old logic for guessing app_label was deprecated in favor of a more
robust alternative during the app-loading refactor.
The commit that fixed this particular issue is
c40209dcc09f19524fb85251f39a4051491bbec0.
--
Ticket URL: <https://code.djangoproject.com/ticket/13903#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.