mirror of
https://github.com/django/django.git
synced 2025-07-23 05:05:17 +00:00
Updated UTC uses to datetime.timezone.utc in docs.
This commit is contained in:
parent
5c2c7277d4
commit
a16132a9c4
3 changed files with 4 additions and 4 deletions
|
@ -407,7 +407,7 @@ Once you're in the shell, explore the :doc:`database API </topics/db/queries>`::
|
|||
>>> q.question_text
|
||||
"What's new?"
|
||||
>>> q.pub_date
|
||||
datetime.datetime(2012, 2, 26, 13, 0, 0, 775217, tzinfo=<UTC>)
|
||||
datetime.datetime(2012, 2, 26, 13, 0, 0, 775217, tzinfo=datetime.timezone.utc)
|
||||
|
||||
# Change values by changing the attributes, then calling save().
|
||||
>>> q.question_text = "What's up?"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue