Changes between Version 1 and Version 2 of Ticket #22424, comment 2


Ignore:
Timestamp:
04/13/2014 07:35:46 AM (13 months ago)
Author:
Nevsky
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22424, comment 2

    v1 v2  
    11Replying to [comment:1 loic84]:
     2>I can reproduce that adding a TextField() triggers the questioner which is probably confusing, I wonder if we can't just use '' as default automatically when default=NOT_PROVIDED and empty_strings_allowed=True. Accepting the ticket on this basis.
     3Yes I think correct is to use "None" as default in this instance.
    24> Regarding the error with `'blabla'`, did you actually type the quotes? That prompt interprets Python, so if you just type `blabla` it'll throw an error because it can't find a variable named "blabla".
    35Yes, I type the quotes and migration successfully making. I confused commands "migrate" and "magemigrations" in ticked description. I get error when I trying to apply created migration because it contains default value for field that can't have default value in MySQL database :)
Back to Top