#34988: Makemigrations shouldn't prompt for default values for non-nullable 
fields
of other apps.
--------------------------------------+------------------------------------
     Reporter:  Sarah Boyce           |                    Owner:  Bhuvnesh
         Type:  Cleanup/optimization  |                   Status:  assigned
    Component:  Migrations            |                  Version:  dev
     Severity:  Normal                |               Resolution:
     Keywords:  makemigrations        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Bhuvnesh):

 * owner:  nobody => Bhuvnesh
 * status:  new => assigned


Comment:

 >The autodetector is documented as being designed to run on entire
 projects but I wonder if it's possible to delay prompting the questioner
 for various things it requests until after _trim_changes() is called.
 Hi, David ! I cannot fully understand what you are trying the propose, it
 will be helpful if you could please elaborate this a bit. 😅

 I'm working on one more approach - passing app_label from auto-detector
 and restricting questioner for apps other than specified apps. This is
 working for independent apps but not for dependent apps. Need to look more
 into this.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34988#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018c083a4dea-ee6ea5c5-2b56-47b9-a464-055e0d1879a0-000000%40eu-central-1.amazonses.com.

Reply via email to