Replacing ugettext_ functions with gettext_ for Django 3

This commit is contained in:
Jake Bell
2020-01-07 15:57:37 -06:00
parent 70269e1e43
commit dc65f5e1de
9 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ from signal import signal
from multiprocessing import cpu_count
# django
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from django.conf import settings
# external
@@ -77,7 +77,7 @@ class Conf(object):
# Guard loop sleep in seconds. Should be between 0 and 60 seconds.
GUARD_CYCLE = conf.get('guard_cycle', 0.5)
# Disable the scheduler
SCHEDULER = conf.get('scheduler', True)