Source code for django.contrib.postgres.indexes

from __future__ import unicode_literals

from django.db.models import Index

__all__ = ['GinIndex']


[docs]class GinIndex(Index): suffix = 'gin' def create_sql(self, model, schema_editor): return super(GinIndex, self).create_sql(model, schema_editor, using=' USING gin')