summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-03-03 16:07:38 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-03-03 16:07:38 +0100
commit97afc49bb0cca34cb83b371c5f83d74cb3974b91 (patch)
treea3b93b46dd6def1e2d875c2e327c2f41955a5219
parent0868e5a8ac6811fffcb25e9dc8248d87d25abcd1 (diff)
Removed unnecessary imports.
-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)