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

Use Django system check framework to ensure that customization is done properly #340

Open
SaltyQuetzals opened this issue Feb 9, 2020 · 0 comments
Assignees
Labels
admin The administrative process can be improved with this generalization Improvements to generalizing ideas and concepts to be easily-customizable

Comments

@SaltyQuetzals
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Django provides a management command, check, which uses the Django system check framework to validate a project. We can use this management command to ensure that before a user deploys, their app is customized enough to their liking.

Describe the solution you'd like
Use the Django system check framework to add warnings when certain settings have not been tailored before going into production.

For example, running python3 manage.py check --deploy should check to ensure that the customization settings have been changed to fit a specific event (i.e. they've been changed from the default).

Describe alternatives you've considered
Writing our own management command would require us to build our own check system. I think we should just integrate with the existing system provided by Django. It's simpler, there are more docs, and it's more maintainable.

Additional context
This is really useful for teams that are unsure if they personalized every single part of the application, and their users aren't going to see "TAMUhack" somewhere they shouldn't.

@SaltyQuetzals SaltyQuetzals added generalization Improvements to generalizing ideas and concepts to be easily-customizable admin The administrative process can be improved with this labels Feb 9, 2020
@SaltyQuetzals SaltyQuetzals self-assigned this Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin The administrative process can be improved with this generalization Improvements to generalizing ideas and concepts to be easily-customizable
Projects
None yet
Development

No branches or pull requests

1 participant