From 175dd9fd151d66d5b774046884690ed2fa97a718 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Thu, 1 Jul 2021 08:36:57 +0200 Subject: [PATCH] Added unidecode --- .gitignore | 7 ++++--- Pipfile | 1 + Pipfile.lock | 10 +++++++++- requirements.txt | 1 + 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 01020ea..a62cab9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,12 @@ .env +env +/env/ +/venv/ *.pyc .sass-cache .DS_Store *.swp *.sqlite3 -/docker-compose.yml -/env/ -/venv/ /static/ /assets/ /media/ @@ -14,6 +14,7 @@ /.keys/ /.vagrant/ /Vagrantfile.local +/docker-compose.yml /docs/_build/ /node_modules/ /publichealth/static/libs diff --git a/Pipfile b/Pipfile index 99fcd1d..f16a9ca 100644 --- a/Pipfile +++ b/Pipfile @@ -33,3 +33,4 @@ stellar = "*" wagtail = ">=2.0,<2.13" whitenoise = "*" django-toolbelt = "*" +unidecode = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 19834d5..bf00f4c 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "0476f5577e0add77f248917f00fee07da37ab9c4c1248918ca4565d0f972ced4" + "sha256": "a8d6833d674518785c4eeaa99ed3f1a896f26687aa801e2b3510d900a137b0d0" }, "pipfile-spec": 6, "requires": {}, @@ -690,6 +690,14 @@ "markers": "python_version >= '3.6'", "version": "==3.0.0" }, + "unidecode": { + "hashes": [ + "sha256:12435ef2fc4cdfd9cf1035a1db7e98b6b047fe591892e81f34e94959591fad00", + "sha256:8d73a97d387a956922344f6b74243c2c6771594659778744b2dbdaad8f6b727d" + ], + "index": "pypi", + "version": "==1.2.0" + }, "urllib3": { "hashes": [ "sha256:39fb8672126159acb139a7718dd10806104dec1e2f0f6c88aab05d17df10c8d4", diff --git a/requirements.txt b/requirements.txt index c7ebfca..9325c41 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,3 +31,4 @@ gunicorn whitenoise python-dotenv ConcurrentLogHandler +unidecode