Prechádzať zdrojové kódy

Removed unnecessary imports.

Aymeric Augustin 12 rokov pred
rodič
commit
97afc49bb0
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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)