diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/options.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/options.txt b/docs/ref/models/options.txt index 06bf09fba0..6f318b2df8 100644 --- a/docs/ref/models/options.txt +++ b/docs/ref/models/options.txt @@ -445,7 +445,7 @@ not be looking at your Django code. For example:: unique_together = ["driver", "restaurant"] A :class:`~django.db.models.ManyToManyField` cannot be included in - unique_together. (It's not clear what that would even mean!) If you + ``unique_together``. (It's not clear what that would even mean!) If you need to validate uniqueness related to a :class:`~django.db.models.ManyToManyField`, try using a signal or an explicit :attr:`through <ManyToManyField.through>` model. |
