optimizing imports
This commit is contained in:
parent
49ce86997e
commit
711de36ae7
3 changed files with 11 additions and 10 deletions
|
@ -4,9 +4,10 @@ from datetime import timedelta
|
||||||
|
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
||||||
from openid_provider.lib.errors import *
|
from ..errors import *
|
||||||
from openid_provider.lib.utils.params import *
|
from ..utils.params import *
|
||||||
from openid_provider.lib.utils.token import *
|
from ..utils.token import *
|
||||||
|
|
||||||
from openid_provider.models import *
|
from openid_provider.models import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,9 @@ try: # JsonResponse is only available in Django > 1.7
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from ..utils.http import JsonResponse
|
from ..utils.http import JsonResponse
|
||||||
|
|
||||||
from openid_provider.lib.errors import *
|
from ..errors import *
|
||||||
from openid_provider.lib.scopes import *
|
from ..scopes import *
|
||||||
from openid_provider.lib.utils.params import *
|
from ..utils.params import *
|
||||||
from openid_provider.models import *
|
from openid_provider.models import *
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,10 @@ from django.shortcuts import render
|
||||||
from django.views.decorators.http import require_http_methods
|
from django.views.decorators.http import require_http_methods
|
||||||
from django.views.generic import View
|
from django.views.generic import View
|
||||||
|
|
||||||
from openid_provider.lib.errors import *
|
from .lib.errors import *
|
||||||
from openid_provider.lib.endpoints.authorize import *
|
from .lib.endpoints.authorize import *
|
||||||
from openid_provider.lib.endpoints.token import *
|
from .lib.endpoints.token import *
|
||||||
from openid_provider.lib.endpoints.userinfo import *
|
from .lib.endpoints.userinfo import *
|
||||||
|
|
||||||
|
|
||||||
class AuthorizeView(View):
|
class AuthorizeView(View):
|
||||||
|
|
Loading…
Reference in a new issue