Browse Source

Removed unnecessary imports.

Aymeric Augustin 12 years ago
parent
commit
97afc49bb0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/topics/db/examples/one_to_one.txt

+ 1 - 1
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)