#31382: Silent failure when saving non-concrete field with update_fields
-------------------------------+--------------------------------------
     Reporter:  Peter Law      |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Uncategorized  |                  Version:  2.2
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by Peter Law):

 Just to add for anyone who has a similar issue -- I'm currently working
 around this by having my field listen for the `pre_save` signal as part of
 its `contribute_to_class` method and having the signal emit an exception
 which prevents the save going through.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31382#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/068.b5bba7aa9f21f22ec3176e46d1fa2554%40djangoproject.com.

Reply via email to