mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #23423 -- Added unaccent lookup in django.contrib.postgres
This commit is contained in:
parent
47789410db
commit
17fe0bd808
12 changed files with 163 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.contrib.postgres.operations import HStoreExtension
|
||||
from django.contrib.postgres.operations import HStoreExtension, UnaccentExtension
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
|
@ -12,4 +12,5 @@ class Migration(migrations.Migration):
|
|||
|
||||
operations = [
|
||||
HStoreExtension(),
|
||||
UnaccentExtension(),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue