[Django] #28504: Add hooks into schema alter_field and reduce complexity

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Django] #28504: Add hooks into schema alter_field and reduce complexity

Django
#28504: Add hooks into schema alter_field and reduce complexity
-------------------------------------+-------------------------------------
               Reporter:  Rachel     |          Owner:  nobody
  Tobin                              |
                   Type:  New        |         Status:  new
  feature                            |
              Component:  Database   |        Version:  1.11
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 This patch adds in hooks into the base `alter_field` method in
 `BaseDatabaseSchemaEditor` so backends are able to augment or override the
 various actions that occur when altering a field. This also cuts
 complexity in half, and clarifies the various actions.

 PR is https://github.com/django/django/pull/8922

--
Ticket URL: <https://code.djangoproject.com/ticket/28504>
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/050.3e08b6cf6f80de7eb97bfc09ddc69100%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28504: Add hooks into schema alter_field and reduce complexity

Django
#28504: Add hooks into schema alter_field and reduce complexity
-------------------------------------+-------------------------------------
     Reporter:  Rachel Tobin         |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  1.11
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Rachel Tobin):

 * type:  New feature => Cleanup/optimization


--
Ticket URL: <https://code.djangoproject.com/ticket/28504#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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.85c628237c9ed1a25d9b114cee08f9df%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28504: Add hooks into SchemaEditor.alter_field() and reduce complexity (was: Add hooks into schema alter_field and reduce complexity)

Django
In reply to this post by Django
#28504: Add hooks into SchemaEditor.alter_field() and reduce complexity
--------------------------------------+------------------------------------
     Reporter:  Rachel Tobin          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Migrations            |                  Version:  1.11
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Tim Graham):

 * component:  Database layer (models, ORM) => Migrations
 * stage:  Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/28504#comment:2>
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.2400dba5c4832bdaad736b39bc5025e8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28504: Add hooks into SchemaEditor.alter_field() and reduce complexity

Django
In reply to this post by Django
#28504: Add hooks into SchemaEditor.alter_field() and reduce complexity
--------------------------------------+------------------------------------
     Reporter:  Rachel Tobin          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Migrations            |                  Version:  1.11
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Rachel Tobin):

 * cc: Rachel Tobin (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28504#comment:3>
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 [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.28162a8d4a4557086f79e95bba4966a1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Django] #28504: Add hooks into SchemaEditor.alter_field() and reduce complexity

Django
In reply to this post by Django
#28504: Add hooks into SchemaEditor.alter_field() and reduce complexity
--------------------------------------+------------------------------------
     Reporter:  Rachel Tobin          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Migrations            |                  Version:  1.11
     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 Carlton Gibson):

 * has_patch:  1 => 0


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