diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-01-17 22:29:30 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-01-17 22:29:30 +0000 |
| commit | 2187fa3ea4f1609849594bb23b93d477a3e4b3d3 (patch) | |
| tree | d43177f62c2ee7c0c83bbd9f8343f513b10ab641 | |
| parent | 5bc344cecaec2bf9fb027048226a41127d49add1 (diff) | |
Added versionchanged directive to docs introduced in r12139.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | docs/topics/db/models.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index 0f454335aa..b436fecb6d 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -870,6 +870,8 @@ field. This would normally cause a problem in abstract base classes, since the fields on this class are included into each of the child classes, with exactly the same values for the attributes (including :attr:`~django.db.models.ForeignKey.related_name`) each time. +.. versionchanged:: 1.2 + To work around this problem, when you are using :attr:`~django.db.models.ForeignKey.related_name` in an abstract base class (only), part of the name should contain ``'%(app_label)s'`` and ``'%(class)s'``. |
