Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Refs #8319 -- Added documentation note on the limitations of limit_ch…

…oices_to.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 7eb44e32dc451f4ba3cad780f7e68d148f8ee661 1 parent 1691c22
Russell Keith-Magee authored August 15, 2008

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  docs/model-api.txt
6  docs/model-api.txt
@@ -869,7 +869,8 @@ relationship should work. All are optional:
869 869
                              (an object with a ``get_sql()`` method) for more complex
870 870
                              queries.
871 871
 
872  
-                             Not compatible with ``edit_inline``.
  872
+                             ``limit_choices_to`` has no effect the inline FormSets that 
  873
+                             are created to display related objects in the admin.
873 874
 
874 875
     ``related_name``         The name to use for the relation from the related
875 876
                              object back to this one. See the
@@ -948,6 +949,9 @@ the relationship should work. All are optional:
948 949
     ``related_name``         See the description under ``ForeignKey`` above.
949 950
 
950 951
     ``limit_choices_to``     See the description under ``ForeignKey`` above.
  952
+    
  953
+                             ``limit_choices_to`` has no effect when used on a
  954
+                             ``ManyToManyField`` with an intermediate table.
951 955
 
952 956
     ``symmetrical``          Only used in the definition of ManyToManyFields on self.
953 957
                              Consider the following model::

0 notes on commit 7eb44e3

Please sign in to comment.
Something went wrong with that request. Please try again.