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

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 20:30
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
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@davidfischer davidfischer merged commit 3b05ce1 into readthedocs:master May 21, 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