#31347: CreateExtension should check if migration is allowed.
----------------------------------+------------------------------------
     Reporter:  Petr Přikryl      |                    Owner:  nobody
         Type:  Bug               |                   Status:  new
    Component:  contrib.postgres  |                  Version:  master
     Severity:  Normal            |               Resolution:
     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 felixxm):

 * component:  Migrations => contrib.postgres
 * version:  2.1 => master
 * stage:  Unreviewed => Accepted


Comment:

 Agreed, we should check
 `router.allow_migrate(schema_editor.connection.alias, app_label,
 **self.hints)` in both `CreateExtension.database_forwards()` and
 `database_backwards()`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31347#comment:1>
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.a2190594d08a4db6850424e03f52aed6%40djangoproject.com.

Reply via email to