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

Display feature flags in the admin #4108

Merged

Conversation

@davidfischer
Copy link
Contributor

@davidfischer davidfischer commented May 17, 2018

This PR gives an easy way to see the feature flags that apply to a project.

screen shot 2018-05-17 at 1 29 06 pm

@davidfischer davidfischer requested a review from humitos May 17, 2018
raw_id_fields = ('users', 'main_language_project')
actions = ['send_owner_email', 'ban_owner']

def feature_flags(self, obj):
return ', '.join([f.feature_id for f in obj.features])
Copy link
Contributor Author

@davidfischer davidfischer May 17, 2018

Ok

Copy link
Member

@humitos humitos left a comment

Nice!

@davidfischer davidfischer merged commit 3b05ce1 into readthedocs:master May 21, 2018
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants