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

Change the color of Django admin for Stage #760

Open
mathildepm opened this issue Jun 26, 2021 · 1 comment
Open

Change the color of Django admin for Stage #760

mathildepm opened this issue Jun 26, 2021 · 1 comment

Comments

@mathildepm
Copy link
Contributor

This would require doing some research into Django Admin, but it would be nice to change the background color of Admin for real Huxley vs stage Huxley. This helps when doing tests with data, and reminding the USG Tech which platform they are working on.

  • A Tech who once accidentally deleted assignments from real Huxley that the schools had already finalized (it was resolved but goodness was it a scare)
@erwang01
Copy link
Member

erwang01 commented Dec 7, 2021

How are real Huxley and stage Huxley currently differentiated?

From what I can see, there is probably some sort of a local settings config stored in the settings directory on whatever server is running prod.

If that is the case, modifying the local settings config to change prod's Admin colors is probably the best bet for a custom solution. Ex https://github.com/dizballanze/django-admin-env-notice

If you prefer not to touch prod, we can have local settings for dev Huxley but this implies that everyone who uses dev Huxley actually remembers to set up local settings by creating a local.py file.
Also the existing template seems kinda odd... probably worth deleting or updating.

This is probably the winner tho... Out of the Box 3rd party solution: https://github.com/fabiocaccamo/django-admin-interface

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