* status: closed => new
* severity: => Normal
* resolution: worksforme =>
* easy: => 0
* ui_ux: => 0
* type: => Uncategorized
Comment:
Just happened to me - reproducing:
use a model import in __ini__ of an app
from configuration.models import myModel
run the testing suite with sqlite db
get:
django.db.utils.OperationalError: no such table: configuration_myModel
--
Ticket URL: <https://code.djangoproject.com/ticket/14932#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* keywords: sqlite3 => sqlite3 app-loading
* status: new => closed
* resolution: => fixed
Comment:
It isn't clear which conditions triggered this bug, but it cannot happen
anymore in Django 1.7+, thanks to the app-loading refactor. Now it's
explicitly forbidden to import models in `__init__.py` at the root of an
application.
--
Ticket URL: <https://code.djangoproject.com/ticket/14932#comment:4>