Code

Ticket #3098: m2mtablename-doc.diff

File m2mtablename-doc.diff, 649 bytes (added by wolfram.kriesing@…, 7 years ago)
Line 
1Index: docs/model-api.txt
2===================================================================
3--- docs/model-api.txt  (revision 4220)
4+++ docs/model-api.txt  (working copy)
5@@ -875,6 +875,9 @@
6                              relationship, allowing ``ManyToMany`` relationships to be
7                              non-symmetrical.
8 
9+    ``db_table``             The name of the table to create for storing the m2m data.
10+                             If this isn't given, Django will use ``app_label + '_' + table1 + '_' + table2``.
11+
12     =======================  ============================================================
13 
14 One-to-one relationships