File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,7 @@ root directory:
1616 After entering the Python shell, ensure that you import the following models and
1717modules:
1818
19- .. code-block :: python
20-
21- | model- imports|
22- from {+ framework+ }.utils import timezone
23- from datetime import datetime
19+ |model-imports |
2420
2521To learn how to create a {+framework+} application that uses the ``Movie ``
2622model and the Python interactive shell to interact with MongoDB documents,
Original file line number Diff line number Diff line change @@ -70,7 +70,11 @@ The ``Movie`` model class has the following definition:
7070
7171 .. replacement:: model-imports
7272
73- from <your application name>.models import Movie
73+ .. code-block:: python
74+
75+ from <your application name>.models import Movie
76+ from {+framework+}.utils import timezone
77+ from datetime import datetime
7478
7579.. _django-crud-insert:
7680
You can’t perform that action at this time.
0 commit comments