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

Easier way to set view name #5755

Closed
wants to merge 2 commits into from

Conversation

hendrikschneider
Copy link

@hendrikschneider hendrikschneider commented Jan 20, 2018

Added the functionality to change the displayed view name in the BrowsableApiView by setting view_name variable in your class based view. No need to override the function get_view_name(cls, suffix) for a static name.

@hendrikschneider hendrikschneider changed the title Easier possibility to set the view's name Easier way to set the view's name Jan 20, 2018
@hendrikschneider hendrikschneider changed the title Easier way to set the view's name Easier way to set view name Jan 20, 2018
@rpkilby rpkilby self-assigned this Jan 25, 2018
@tomchristie
Copy link
Member

Perfectly reasonable but I think we'll take a pass as haven't seen much demand for this and we already have the flexibility of VIEW_NAME_FUNCTION

@tomchristie tomchristie closed this Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants