#15866: get_model() and get_models() can return models that are not in
INSTALLED_APPS
--------------------+---------------------------------------------
 Reporter:  carljm  |         Owner:  nobody
     Type:  Bug     |        Status:  new
Milestone:          |     Component:  Database layer (models, ORM)
  Version:          |      Severity:  Normal
 Keywords:          |  Triage Stage:  Unreviewed
Has patch:  0       |
--------------------+---------------------------------------------
 `register_models()` does not check if the app is present in
 INSTALLED_APPS, and so importing a models.py file will cause that apps'
 models to be available via `get_model()` or `get_models()`, even though
 the app is not installed (meaning it has no database tables, so actually
 using those models is almost certain to cause a database error).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15866>
Django <http://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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to