Use only "import datetime" in tutorials to minimise confusion
#4037, #4246, #4876, #4935 were all opened because of confusion over which datetime import to use. The tutorial's model files use "import datetime", while the command-line examples use "from datetime import datetime". I propose normalizing the imports to minimize confusion.
Component: |
Uncategorized → Documentation
|
Summary: |
Use only "import datetime" in tutorials → Use only "import datetime" in tutorials to minimise confusion
|
Triage Stage: |
Unreviewed → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Cc: |
Sishen added
|
Keywords: |
MESSAGE added
|
Summary: |
Use only "import datetime" in tutorials to minimise confusion → Use only "import datetime" in tutorials to minimise confusion
|
Cc: |
Sishen removed
|
Keywords: |
MESSAGE removed
|
Summary: |
Use only "import datetime" in tutorials to minimise confusion → Use only "import datetime" in tutorials to minimise confusion
|
Good idea.