Opened 9 years ago

Last modified 9 years ago

#26443 closed Cleanup/optimization

Incorrect indication for datetime default vaues — at Initial Version

Reported by: Iacopo Spalletti Owned by: nobody
Component: Migrations Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

InteractiveMigrationQuestioner._ask_default prompt states that a sensible date defalt is timezone.now() while it should be timezone.now (https://github.com/django/django/blob/master/django/db/migrations/questioner.py#L106)

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top