Replace deprecated functions

This commit is contained in:
Aarni Halinen
2022-08-06 16:51:06 +03:00
parent f79d1467f7
commit c1a1f6e534
24 changed files with 103 additions and 119 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import os
import logging
import datetime
from os.path import expanduser
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))