#27162: Move CreateExtension to django.db.backends.postgresql
-------------------------------------+-------------------------------------
               Reporter:  claudep    |          Owner:  nobody
                   Type:  New        |         Status:  new
  feature                            |
              Component:  Database   |        Version:  master
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 The CreateExtension currently lives in
 `django.contrib.postgres.operations`. I think that it's a core
 functionality of the PostgreSQL backend and it should be usable without
 requiring contrib.postgres. PostGIS users might want to use it to add
 extensions in migrations. I therefore suggest to move it to a new location
 inside `django.db.backends.postgresql`. Backwards compatibility is kept as
 `CreateExtension` will still be imported from the same module it is
 defined in currently.

--
Ticket URL: <https://code.djangoproject.com/ticket/27162>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.d12caca008b75ba443d6d469c6e87d28%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to