#36911: Raise an error when GeneratedField provided to fields argument of
bulk_update()
-------------------------------------+-------------------------------------
     Reporter:  jaffar Khan          |                    Owner:  (none)
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  bulk_update          |             Triage Stage:
  GeneratedField                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by jaffar Khan):

 I manually checked the PostgreSQL behavior on GeneratedField and it does
 raise an error, so I initially expected Django to raise an error as well.
 I now understand that bulk_update() behaves like update() and silently
 skips GeneratedField since their introduction. Thanks for clarification.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36911#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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019c43bc299f-0e9e521c-4154-4d3c-8e94-e66f66cde541-000000%40eu-central-1.amazonses.com.

Reply via email to