All of these operations are available from
the django.contrib.postgres.operations
module.
CreateExtension
¶CreateExtension
(name)[código fonte]¶An Operation
subclass which installs PostgreSQL extensions.
name
¶This is a required argument. The name of the extension to be installed.
HStoreExtension
¶HStoreExtension
[código fonte]¶A subclass of CreateExtension
which will install the hstore
extension and also immediately set up the
connection to interpret hstore data.
UnaccentExtension
¶UnaccentExtension
[código fonte]¶A subclass of CreateExtension
which will install the unaccent
extension.
ago 01, 2016