Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuration of DefaultRouter's root view renderer classes #4268

Closed
marcgibbons opened this issue Jul 15, 2016 · 2 comments
Closed

Allow configuration of DefaultRouter's root view renderer classes #4268

marcgibbons opened this issue Jul 15, 2016 · 2 comments

Comments

@marcgibbons
Copy link
Contributor

Currently, we can set the schema_renderer classes as kwargs on the DefaultRouter, but can't override the renderer classes used on the root view which comes from the settings.

https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/routers.py#L292

It would be desirable to replace BrowsableAPI renderer with the SwaggerUI html renderer in Django REST Swagger.

Referencing issue:
marcgibbons/django-rest-swagger#479 (comment)

@tomchristie
Copy link
Member

Thanks Marc. Getting back onto the project after DjangoCon - apologies for the delay.

@marcgibbons
Copy link
Contributor Author

100% thanks for all the hard work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants