summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/examples/one_to_one.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/examples/one_to_one.txt b/docs/topics/db/examples/one_to_one.txt
index 4c8e0ecfcc..09634c84c7 100644
--- a/docs/topics/db/examples/one_to_one.txt
+++ b/docs/topics/db/examples/one_to_one.txt
@@ -10,7 +10,7 @@ In this example, a ``Place`` optionally can be a ``Restaurant``:
.. code-block:: python
- from django.db import models, transaction, IntegrityError
+ from django.db import models
class Place(models.Model):
name = models.CharField(max_length=50)