summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-01-05 09:32:22 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-01-05 20:52:53 +0100
commitf630373b929bc62bf4d66d60c532f7832e5fbe67 (patch)
treeb75eb1b0dd872d60b7f973889ca40883a620fe35 /docs
parentf5f761716731ceedaf165a068e6f88164cd87e79 (diff)
Fixed #21711 -- Enforced unicity of model names.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.7.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
index c684454181..a4b230510a 100644
--- a/docs/releases/1.7.txt
+++ b/docs/releases/1.7.txt
@@ -664,6 +664,12 @@ If you have two apps with the same label, you should create an
:class:`~django.apps.AppConfig.label` there. You should then adjust your code
wherever it references this application or its models with the old label.
+It isn't possible to import the same model twice through different paths any
+more. As of Django 1.6, this may happen only if you're manually putting a
+directory and a subdirectory on :envvar:`PYTHONPATH`. Refer to the section on
+the new project layout in the :doc:`1.4 release notes </releases/1.4>` for
+migration instructions.
+
You should make sure that your project doesn't import models from applications
that aren't in :setting:`INSTALLED_APPS`. Relations involving such models may
not be created properly. Future versions of Django may forbid this entirely.