Name |
Last commit
|
Last update |
---|---|---|
.. | ||
migrations | ||
tests | ||
__init__.py | ||
admin.py | ||
api.py | ||
models.py | ||
serializers.py | ||
settings.py | ||
urls.py | ||
views.py | ||
wsgi.py |
1. Explicitly added OAuth2 and Session as the authentication types allowed. Django Rest Framework allows the use of defaults via settings, but this may have unwanted side-effects since there are others using DRF with different APIs that have different requirements. 2. Created a ReadRestrictedDjangoModelPermissions class that is a subclass of DjangoModelPermissions. DjangoModelPermissions only cares about edit/update/delete permissions and makes everything world readable by default, which is not desirable for this API. 3. Added the DRF login URLs for running this project locally. 4. Add edX fork of django-oauth2-provider to requirements.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
migrations | Loading commit data... | |
tests | Loading commit data... | |
__init__.py | Loading commit data... | |
admin.py | Loading commit data... | |
api.py | Loading commit data... | |
models.py | Loading commit data... | |
serializers.py | Loading commit data... | |
settings.py | Loading commit data... | |
urls.py | Loading commit data... | |
views.py | Loading commit data... | |
wsgi.py | Loading commit data... |