#29377: DatabaseSchemaEditor: add a hook to run DML statements after the entire
schema is created
-------------------------------------+------------------------------------
     Reporter:  Maximiliano Robaina  |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Migrations           |                  Version:  2.0
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+------------------------------------
Changes (by Simon Charette):

 * status:  new => closed
 * cc: Simon Charette (added)
 * resolution:   => wontfix


Comment:

 Any reason why a `post_migrate` receiver cannot be used for this purpose?

 The schema editor and migration logic are decoupled for a good reason and
 adding such a hook would introduce bidirectional coupling between the two
 components.

 I'll close as ''wontfix'' for the above reasons.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29377#comment:5>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.b18d0af367ce3c20d9d01acc69520412%40djangoproject.com.

Reply via email to