Kaydet (Commit) 2187fa3e authored tarafından Jannis Leidel's avatar Jannis Leidel

Added versionchanged directive to docs introduced in r12139.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 5bc344ce
...@@ -870,6 +870,8 @@ field. This would normally cause a problem in abstract base classes, since the ...@@ -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 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. 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 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 abstract base class (only), part of the name should contain
``'%(app_label)s'`` and ``'%(class)s'``. ``'%(app_label)s'`` and ``'%(class)s'``.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment