Kaydet (Commit) 035f2e69 authored tarafından Tim Graham's avatar Tim Graham

Fixed #23362 -- Clarified "database columns as attributes" in tutorial.

üst a3e88e64
...@@ -643,7 +643,7 @@ Once you're in the shell, explore the :doc:`database API </topics/db/queries>`:: ...@@ -643,7 +643,7 @@ Once you're in the shell, explore the :doc:`database API </topics/db/queries>`::
>>> q.id >>> q.id
1 1
# Access database columns via Python attributes. # Access model field values via Python attributes.
>>> q.question_text >>> q.question_text
"What's new?" "What's new?"
>>> q.pub_date >>> q.pub_date
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment