#26620: refresh_from_db() shouldn't ignore unknown keyword argumengs
----------------------------------------------+--------------------
     Reporter:  intgr                         |      Owner:  intgr
         Type:  Bug                           |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  master
     Severity:  Normal                        |   Keywords:
 Triage Stage:  Unreviewed                    |  Has patch:  1
Easy pickings:  0                             |      UI/UX:  0
----------------------------------------------+--------------------
 This code should raise a TypeError, but for some reason unknown keyword
 arguments are ignored:
 {{{
 a.refresh_from_db(unknown_kwarg=10)
 }}}

 Dunno if this is considered a bug or cleanup, but it can hide real
 mistakes in code.

--
Ticket URL: <https://code.djangoproject.com/ticket/26620>
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/048.158a0a12a3d23170f6757aa8a0a16da3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to