mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Removed unnecessary imports.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user