mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 11:41:08 -03:30
Fix up new Django 3.0 deprecations
Mostly text based: force/smart_text, ugettext_*
This commit is contained in:
@@ -6,7 +6,7 @@ import ldap
|
||||
|
||||
# Django
|
||||
from django.core.exceptions import ValidationError
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
__all__ = [
|
||||
'validate_ldap_dn',
|
||||
|
||||
Reference in New Issue
Block a user