-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Add tests for default django templates that are overridden. #301
Labels
enhancement
New feature or request
Comments
Is your idea to add special comments like |
No, it's too hard comparing customized templates with the original ones, my idea is this: Preparation
Tests
What do you think about it? |
Ah I understand, it’s an automated comparison of a saved copy with the upstream file! Plan seems good. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Some features require template changes that now work correctly, but may become incompatible with future django releases.
Solution
Discover incompatibility issues as soon as possible using the CI by comparing the default django template (this will run for each supported django version in the CI) with a list of templates that we know are compatible with this library.
Doing this, any future change to an overridden template will immediately result in a CI failure, very easy to discover and debug.
Here there are all default django admin templates that are overridden by this package:
https://github.com/fabiocaccamo/django-admin-interface/tree/main/admin_interface/templates/admin
Funding
The text was updated successfully, but these errors were encountered: