Permalink
Browse files

Fixed string format specifier for fillfactor in GistIndex.

  • Loading branch information...
1 parent a8e492b commit 1f0813ca7e8a15d10fcdaad1a5d66b7eec28dedb @pope1ni pope1ni committed with timgraham Dec 5, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/postgres/indexes.py
@@ -96,5 +96,5 @@ def get_with_params(self):
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

0 comments on commit 1f0813c

Please sign in to comment.