From 54feaca70f77b39093fe417dcd89eb7c74930e2e Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Thu, 25 Jan 2007 13:47:55 +0000 Subject: 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 --- docs/model-api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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. ======================= ============================================================ -- cgit v1.3