optimizing imports
This commit is contained in:
parent
49ce86997e
commit
711de36ae7
|
@ -4,9 +4,10 @@ from datetime import timedelta
|
|||
|
||||
from django.utils import timezone
|
||||
|
||||
from openid_provider.lib.errors import *
|
||||
from openid_provider.lib.utils.params import *
|
||||
from openid_provider.lib.utils.token import *
|
||||
from ..errors import *
|
||||
from ..utils.params import *
|
||||
from ..utils.token import *
|
||||
|
||||
from openid_provider.models import *
|
||||
|
||||
|
||||
|
|
|
@ -6,9 +6,9 @@ try: # JsonResponse is only available in Django > 1.7
|
|||
except ImportError:
|
||||
from ..utils.http import JsonResponse
|
||||
|
||||
from openid_provider.lib.errors import *
|
||||
from openid_provider.lib.scopes import *
|
||||
from openid_provider.lib.utils.params import *
|
||||
from ..errors import *
|
||||
from ..scopes import *
|
||||
from ..utils.params 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.generic import View
|
||||
|
||||
from openid_provider.lib.errors import *
|
||||
from openid_provider.lib.endpoints.authorize import *
|
||||
from openid_provider.lib.endpoints.token import *
|
||||
from openid_provider.lib.endpoints.userinfo import *
|
||||
from .lib.errors import *
|
||||
from .lib.endpoints.authorize import *
|
||||
from .lib.endpoints.token import *
|
||||
from .lib.endpoints.userinfo import *
|
||||
|
||||
|
||||
class AuthorizeView(View):
|
||||
|
|
Loading…
Reference in a new issue