summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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