Make search unaccented
This commit is contained in:
parent
71c5de49d3
commit
0a5559b4df
3 changed files with 17 additions and 1 deletions
11
recette/migrations/0005_postgres_unaccent.py
Normal file
11
recette/migrations/0005_postgres_unaccent.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from django.contrib.postgres.operations import UnaccentExtension
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('recette', '0004_recette_photo_instr'),
|
||||
]
|
||||
|
||||
operations = [UnaccentExtension()]
|
||||
Loading…
Add table
Add a link
Reference in a new issue