diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2017-12-05 09:52:21 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-01-12 08:49:26 -0500 |
| commit | 1f0813ca7e8a15d10fcdaad1a5d66b7eec28dedb (patch) | |
| tree | 7951cc48b71282f5dd1f8abc447aa8bec31a349c | |
| parent | a8e492bc81fca829f5d270e2d57703c02e58701e (diff) | |
Fixed string format specifier for fillfactor in GistIndex.
| -rw-r--r-- | django/contrib/postgres/indexes.py | 2 |
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 |
