Back in d153ece we switched to the upstream backend social_core.backends.auth0.Auth0OAuth2
this commit removes the custom app we had to use for Auth0
Signed-off-by: Corey Shields <cshields@gmail.com>
I've decided to change things up in API schema and doc generation.
Work is not quite complete but its enough for testing in dev and feedback.
Major changes:
* Renaming of api.view classes to match ViewSet inheritance (minor annoyance)
* Introduce drf-spectacular for schema generation and doc UI via swagger-ui
* lots of doc changes for the API to provide a good experience with the above.
New schema generation should work seamlessly in gitlab ci, as well as via /api/schema dynamically.
The new swagger ui view is available via /api/schema/docs/
Signed-off-by: Corey Shields <cshields@gmail.com>
adds the /api-schema URL which will provide the current API schema in OpenAPI format, both in rendered and downloadable formats.
Signed-off-by: Corey Shields <cshields@gmail.com>
According to Django 1.11 documentation if there are 404.html and 500.html
pages in templates root directory then it loads them in case of 404 or
500 errors without any extra code needed. More details in:
https://docs.djangoproject.com/en/1.11/ref/views/#error-views
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>