Removed unnecessary imports.
This commit is contained in:
parent
0868e5a8ac
commit
97afc49bb0
|
@ -10,7 +10,7 @@ In this example, a ``Place`` optionally can be a ``Restaurant``:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
from django.db import models, transaction, IntegrityError
|
from django.db import models
|
||||||
|
|
||||||
class Place(models.Model):
|
class Place(models.Model):
|
||||||
name = models.CharField(max_length=50)
|
name = models.CharField(max_length=50)
|
||||||
|
|
Loading…
Reference in New Issue