Opened 9 years ago

Last modified 9 years ago

#26443 closed Cleanup/optimization

Incorrect indication for datetime default vaues — at Version 1

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 (last modified by Iacopo Spalletti)

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

Change History (1)

comment:1 by Iacopo Spalletti, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top