summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index d33ad543e5..5ac9fbb12c 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -704,8 +704,11 @@ demonstration:
:filename: polls/models.py
import datetime
+
+ from django.db import models
from django.utils import timezone
- # ...
+
+
class Question(models.Model):
# ...
def was_published_recently(self):