summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-08-15 07:55:41 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-08-15 07:55:41 +0000
commit7eb44e32dc451f4ba3cad780f7e68d148f8ee661 (patch)
tree1788f82250cbad8d4e4f7ab85e6f741dd27dab6b /docs
parent1691c22821edf906da95e6c4d261b5a05c5c181d (diff)
Refs #8319 -- Added documentation note on the limitations of limit_choices_to.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/model-api.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 6dee963621..fc0299374d 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -869,7 +869,8 @@ relationship should work. All are optional:
(an object with a ``get_sql()`` method) for more complex
queries.
- Not compatible with ``edit_inline``.
+ ``limit_choices_to`` has no effect the inline FormSets that
+ are created to display related objects in the admin.
``related_name`` The name to use for the relation from the related
object back to this one. See the
@@ -948,6 +949,9 @@ the relationship should work. All are optional:
``related_name`` See the description under ``ForeignKey`` above.
``limit_choices_to`` See the description under ``ForeignKey`` above.
+
+ ``limit_choices_to`` has no effect when used on a
+ ``ManyToManyField`` with an intermediate table.
``symmetrical`` Only used in the definition of ManyToManyFields on self.
Consider the following model::