diff options
Diffstat (limited to 'tests/custom_pk/models.py')
| -rw-r--r-- | tests/custom_pk/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/custom_pk/models.py b/tests/custom_pk/models.py index bfa6777b10..f4ecc874ee 100644 --- a/tests/custom_pk/models.py +++ b/tests/custom_pk/models.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -14. Using a custom primary key +Using a custom primary key By default, Django adds an ``"id"`` field to each model. But you can override this behavior by explicitly adding ``primary_key=True`` to a field. |
