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

marcgibbons commented Jul 15, 2016

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

tomchristie commented Jul 26, 2016

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

@marcgibbons
Copy link
Contributor Author

marcgibbons commented Jul 28, 2016

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