From 67a6952297e505fb1d22ed12720c04b5dc4a92a0 Mon Sep 17 00:00:00 2001 From: Ayub khan Date: Wed, 10 Jul 2019 14:39:35 +0500 Subject: [PATCH] INCR-362 python3 compatability --- openedx/core/djangoapps/user_authn/urls.py | 4 +++- openedx/core/djangoapps/user_authn/utils.py | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_authn/urls.py b/openedx/core/djangoapps/user_authn/urls.py index 7462a71b09..a278f3355e 100644 --- a/openedx/core/djangoapps/user_authn/urls.py +++ b/openedx/core/djangoapps/user_authn/urls.py @@ -1,10 +1,12 @@ """ URLs for User Authentication """ +from __future__ import absolute_import + from django.conf import settings from django.conf.urls import include, url from openedx.core.djangoapps.user_api.accounts import settings_views -from .views import login_form, login, deprecated +from .views import deprecated, login, login_form urlpatterns = [ # TODO this should really be declared in the user_api app diff --git a/openedx/core/djangoapps/user_authn/utils.py b/openedx/core/djangoapps/user_authn/utils.py index 6a58ac8eed..c33e8c6622 100644 --- a/openedx/core/djangoapps/user_authn/utils.py +++ b/openedx/core/djangoapps/user_authn/utils.py @@ -1,6 +1,8 @@ """ Utility functions used during user authentication. """ +from __future__ import absolute_import + from django.conf import settings from django.utils import http from oauth2_provider.models import Application