Update edx-drf-extensions to 2.0.0.

Note: this version update is backward incompatible.

ARCH-255
This commit is contained in:
Robert Raposa
2018-10-12 15:05:34 -04:00
parent dfbdfe0469
commit fbc59231fc
29 changed files with 46 additions and 38 deletions

View File

@@ -4,7 +4,8 @@ Utilities related to API views
from django.core.exceptions import NON_FIELD_ERRORS, ObjectDoesNotExist, ValidationError
from django.http import Http404
from django.utils.translation import ugettext as _
from edx_rest_framework_extensions.authentication import JwtAuthentication, SessionAuthenticationAllowInactiveUser
from edx_rest_framework_extensions.auth.jwt.authentication import JwtAuthentication
from edx_rest_framework_extensions.auth.session.authentication import SessionAuthenticationAllowInactiveUser
from rest_framework import status
from rest_framework.exceptions import APIException
from rest_framework.generics import GenericAPIView