Changes between Initial Version and Version 1 of Ticket #32900


Ignore:
Timestamp:
Jul 3, 2021, 11:42:26 AM (3 years ago)
Author:
Christian Ullrich
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32900 – Description

    initial v1  
    1212In option 1, Django offers the user the choice of entering the default value. Option 2 instead is the user telling Django what to do.
    1313
    14 Each time I read this, I'm asking myself who the "me" in option 2 is. The most egregious case is in django.db.migrations.ask_not_null_alteration(): "[...] let ''me'' handle existing rows [...] (e.g. because ''you'' added a RunPython [...]". In this sentence, "me" and "you" are the same.
     14Each time I read this, I'm asking myself who the "me" in option 2 is. The most egregious case is in InteractiveMigrationQuestioner.ask_not_null_alteration(): "[...] let ''me'' handle existing rows [...] (e.g. because ''you'' added a RunPython [...]". In this sentence, "me" and "you" are the same.
    1515
    1616Fix: Either reword the "provide" options to say "Let me enter a one-off default now", or the "let me" options to the same style as the "provide" options. I am very much in favor of the latter because I think this "me, the user" style is terrible.
Back to Top