From 89ca1128840a2ae011109cbf38ea5ee9549f1533 Mon Sep 17 00:00:00 2001 From: Vytis Banaitis Date: Sat, 4 Jun 2016 19:04:40 +0300 Subject: [PATCH] Fixed a typo in docs/ref/models/querysets.txt --- docs/ref/models/querysets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 0a1224dc1a..6985da5ca6 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1687,7 +1687,7 @@ tuple of the new object and ``True``. The new object will be created roughly according to this algorithm:: params = {k: v for k, v in kwargs.items() if '__' not in k} - params.update(({k: v() if callable(v) else v for k, v in defaults.items()}) + params.update({k: v() if callable(v) else v for k, v in defaults.items()}) obj = self.model(**params) obj.save()