Add drf-yasg
* Install drf-yasg * Add drf-yasg settings and urls * Pin drf to make drf-yasg work * Adjust config-models version to be compatible * Remove django-rest-swagger (the old way)
This commit is contained in:
@@ -37,7 +37,7 @@ celery==3.1.25 # Asynchronous task execution library
|
||||
defusedxml
|
||||
Django==1.11.21 # Web application framework
|
||||
django-babel-underscore # underscore template extractor for django-babel (internationalization utilities)
|
||||
django-config-models>=0.2.2 # Configuration models for Django allowing config management with auditing
|
||||
django-config-models>=1.0.0 # Configuration models for Django allowing config management with auditing
|
||||
django-cors-headers==2.1.0 # Used to allow to configure CORS headers for cross-domain requests
|
||||
django-countries==4.6.1 # Country data for Django forms and model fields
|
||||
django-crum # Middleware that stores the current request and user in thread local storage
|
||||
@@ -54,7 +54,6 @@ django-pyfs
|
||||
django-ratelimit
|
||||
django-ratelimit-backend==1.1.1
|
||||
django-require
|
||||
django-rest-swagger # API documentation
|
||||
django-sekizai
|
||||
django-ses==0.8.4
|
||||
django-simple-history
|
||||
@@ -64,7 +63,9 @@ django-storages==1.4.1
|
||||
django-user-tasks
|
||||
django-waffle==0.12.0
|
||||
django-webpack-loader # Used to wire webpack bundles into the django asset pipeline
|
||||
djangorestframework==3.7.7
|
||||
djangorestframework-jwt
|
||||
drf-yasg # Replacement for django-rest-swagger
|
||||
edx-ace==0.1.10
|
||||
edx-analytics-data-api-client
|
||||
edx-ccx-keys
|
||||
|
||||
@@ -66,9 +66,6 @@ git+https://github.com/edx/MongoDBProxy.git@25b99097615bda06bd7cdfe5669ed80dc2a7
|
||||
# This can go away when we update auth to not use django-rest-framework-oauth
|
||||
git+https://github.com/edx/django-oauth-plus.git@01ec2a161dfc3465f9d35b9211ae790177418316#egg=django-oauth-plus==2.2.9.edx-1
|
||||
|
||||
# Why a DRF fork? See: https://openedx.atlassian.net/browse/PLAT-1581
|
||||
git+https://github.com/edx/django-rest-framework.git@1ceda7c086fddffd1c440cc86856441bbf0bd9cb#egg=djangorestframework==3.6.3
|
||||
|
||||
# Why a drf-oauth fork? To add Django 1.11 compatibility to the abandoned repo.
|
||||
# This dependency will be removed by this work: https://openedx.atlassian.net/browse/PLAT-1660
|
||||
git+https://github.com/edx/django-rest-framework-oauth.git@0a43e8525f1e3048efe4bc70c03de308a277197c#egg=djangorestframework-oauth==1.1.1
|
||||
|
||||
Reference in New Issue
Block a user