summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarti Raudsepp <marti@juffo.org>2016-05-16 21:49:03 +0300
committerTim Graham <timograham@gmail.com>2016-05-18 09:27:23 -0400
commitb9ae662c97534ab01329dae966222b6ed0185034 (patch)
treeff069701df308a97b4369a22c8096ea0e00f62b2 /docs
parenta5c8072ab1e56da368a40f3e9c9a3b465f4ffbae (diff)
Fixed #26620 -- Made Model.refresh_from_db() fail when passed unknown kwargs.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/instances.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 1dce85794c..517c29e867 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -128,7 +128,7 @@ in the ``from_db()`` method.
Refreshing objects from database
================================
-.. method:: Model.refresh_from_db(using=None, fields=None, **kwargs)
+.. method:: Model.refresh_from_db(using=None, fields=None)
If you need to reload a model's values from the database, you can use the
``refresh_from_db()`` method. When this method is called without arguments the