mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
Fixed #23362 -- Clarified "database columns as attributes" in tutorial.
This commit is contained in:
parent
a3e88e64a4
commit
035f2e699c
@ -643,7 +643,7 @@ Once you're in the shell, explore the :doc:`database API </topics/db/queries>`::
|
||||
>>> q.id
|
||||
1
|
||||
|
||||
# Access database columns via Python attributes.
|
||||
# Access model field values via Python attributes.
|
||||
>>> q.question_text
|
||||
"What's new?"
|
||||
>>> q.pub_date
|
||||
|
Loading…
Reference in New Issue
Block a user