Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Andrés González
26b3a40133
INCR-108 ( #20058 )
...
* INCR-108: Run python-modernize on openedx/core/lib
* Fixed urlencode import
* Fixed diff quality warnings and six.string_types error
* Fixed pickle import
* Fixed iteritems import
* Fixed ungrouped imports
* Fixed six.moves import issues
2019-04-02 10:26:00 -04:00
Ned Batchelder
3353e7425e
Remove unused imports
2018-11-03 16:07:05 -04:00
Ahsan Ulhaq
ee7555e85f
update usage of SessionAuthenticationAllowInactiveUser
...
LEARNER-6469
2018-10-01 17:52:52 +05:00
Eric Fischer
e18448e27d
Silence deprecation warnings
...
https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
2018-05-02 10:03:50 -04:00
John Eskew
2cd62c7bfb
Upgrade django-rest-framework version to edX fork, which is DRF v3.6.3
...
with a custom patch needed by edx-platform.
Upgrade django-filter as well to v1.0.4
Import DjangoFilterBackend from the correct module - django_filter.
Add django-filter to INSTALLED_APPS.
2017-07-14 16:05:13 -04:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
J. Cliff Dyer
1df040228a
Configure LMS to select oauth2 providing library.
...
Available backends:
* django-oauth-toolkit (DOT)
* django-oauth2-provider (DOP)
* Use provided client ID to select backend for
* AccessToken requests
* third party auth-token exchange
* Create adapters to isolate library-dependent functionality
* Handle django-oauth-toolkit tokens in edX DRF authenticator class
MA-1998
MA-2000
2016-03-30 14:21:27 +00:00
Ahsan Ulhaq
9220420925
Add jwt auth in LMS
...
ECOM-3419
2016-01-28 14:00:58 +05:00
J. Cliff Dyer
864e081ffb
Add appropriate messages to OAuth2 401 responses.
...
Format responses as a JSON dict containing an error_code and a
developer_message. user_message is not necessary, as these are API
level errors, not seen by end users.
MA-1900
2016-01-13 16:43:16 +00:00
Will Daly
8555630df7
Upgrade djangorestframework to v3.1
...
* Upgrade edx-submissions
* Upgrade edx-ora2
* Upgrade edx-val
* Upgrade edx-proctoring
* Update all edx-platform code that depends on DRF, including:
- auth_exchange
- cors_csrf
- embargo
- enrollment
- util
- commerce
- course_structure
- discussion_api
- mobile_api
- notifier_api
- teams
- credit
- profile_images
- user_api
- lib/api (OAuth2 and pagination)
2015-09-25 12:40:57 -04:00
jsa
46b63164a0
Implement profile_image upload and remove endpoints
...
TNL-1537
Co-Authored-By: Andy Armstrong <andya@edx.org >
Co-Authored-By: cahrens <christina@edx.org >
2015-04-17 17:23:12 -04:00