Selaa lähdekoodia

Removed unnecessary imports.

Aymeric Augustin 12 vuotta sitten
vanhempi
commit
97afc49bb0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)