diff --git a/templates/horizon_local_settings.py.j2 b/templates/horizon_local_settings.py.j2 index cf3f4cdc..904f1264 100644 --- a/templates/horizon_local_settings.py.j2 +++ b/templates/horizon_local_settings.py.j2 @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- import os -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from horizon.utils import secret_key