summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2007-01-25 13:47:55 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2007-01-25 13:47:55 +0000
commit54feaca70f77b39093fe417dcd89eb7c74930e2e (patch)
tree71033901489eff4c38149fd8610ef377bfb907e9 /docs
parent12ad69c0b4dc3f5ab89a3ccf330d3815e9811134 (diff)
Fixed #3098 -- Added db_table parameter to m2m fields, allowing the specification of a custom table name for the m2m table. Thanks, Wolfram Kriesing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/model-api.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index 33742220a3..8abd88f7ec 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -874,6 +874,10 @@ the relationship should work. All are optional:
force Django to add the descriptor for the reverse
relationship, allowing ``ManyToMany`` relationships to be
non-symmetrical.
+
+ ``db_table`` The name of the table to create for storing the many-to-many
+ data. If this is not provided, Django will assume a default
+ name based upon the names of the two tables being joined.
======================= ============================================================