You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
I'm working through the introductory tutorial @ djangoproject.com. Why
does the poll object require an explicit save() call, while choice
objects are inserted into the db instantaneously?
Daniel Roseman
unread,
Aug 4, 2011, 3:21:36 AM8/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
They're not. You must have misread. You always need to save. -- DR.
Dan Poirier
unread,
Aug 4, 2011, 7:49:06 AM8/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
There are different ways to create objects, and some implicitly save while others don't. It does not depend on what kind of object it is.
christian.posta
unread,
Aug 4, 2011, 9:41:48 AM8/4/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
If you point me to exactly what part of the tutorial shows Choice
objects being saved instantaneously, I can explain it to you.