summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2017-12-05 09:52:21 +0000
committerTim Graham <timograham@gmail.com>2018-01-12 08:49:26 -0500
commit1f0813ca7e8a15d10fcdaad1a5d66b7eec28dedb (patch)
tree7951cc48b71282f5dd1f8abc447aa8bec31a349c /django
parenta8e492bc81fca829f5d270e2d57703c02e58701e (diff)
Fixed string format specifier for fillfactor in GistIndex.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/postgres/indexes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/postgres/indexes.py b/django/contrib/postgres/indexes.py
index a5c127e942..677c63b4a2 100644
--- a/django/contrib/postgres/indexes.py
+++ b/django/contrib/postgres/indexes.py
@@ -96,5 +96,5 @@ class GistIndex(PostgresIndex):
if self.buffering is not None:
with_params.append('buffering = %s' % ('on' if self.buffering else 'off'))
if self.fillfactor is not None:
- with_params.append('fillfactor = %s' % self.fillfactor)
+ with_params.append('fillfactor = %d' % self.fillfactor)
return with_params