summaryrefslogtreecommitdiff
path: root/docs/tutorial01.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial01.txt')
-rw-r--r--docs/tutorial01.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial01.txt b/docs/tutorial01.txt
index bfdad7dfed..60f370e5a9 100644
--- a/docs/tutorial01.txt
+++ b/docs/tutorial01.txt
@@ -298,7 +298,7 @@ free Python API Django gives you::
# Create a new Poll.
>>> from datetime import datetime
- >>> p = polls.Poll(id=None, question="What's up?", pub_date=datetime.now())
+ >>> p = polls.Poll(question="What's up?", pub_date=datetime.now())
# Save the object into the database. You have to call save() explicitly.
>>> p.save()