diff options
Diffstat (limited to 'tests/modeltests/get_or_create/models.py')
| -rw-r--r-- | tests/modeltests/get_or_create/models.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/modeltests/get_or_create/models.py b/tests/modeltests/get_or_create/models.py index 9f025dc582..3a1b447c97 100644 --- a/tests/modeltests/get_or_create/models.py +++ b/tests/modeltests/get_or_create/models.py @@ -1,8 +1,9 @@ """ 33. get_or_create() -get_or_create() does what it says: it tries to look up an object with the given -parameters. If an object isn't found, it creates one with the given parameters. +``get_or_create()`` does what it says: it tries to look up an object with the +given parameters. If an object isn't found, it creates one with the given +parameters. """ from django.db import models |
