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

Ignore some changes of specific fields #295

Open
Matt-Dong123 opened this issue Jun 25, 2024 · 1 comment
Open

Ignore some changes of specific fields #295

Matt-Dong123 opened this issue Jun 25, 2024 · 1 comment

Comments

@Matt-Dong123
Copy link

When using easyaudit, I want to ignore the changes of some specific fields in a easyaudit registered model. Is there a any convenient implementation?

@breakiboy
Copy link

for a easy solution (maybe dirty), make a seperate model make relationship with the actual model and ignore the new model in the settings file like this: # Ignoriere bestimmte Modelle
DJANGO_EASY_AUDIT_UNREGISTERED_CLASSES_EXTRA = [
'app_advertisement.AdvertisementImpressions',
'app_advertisement.PendingTranslation',
'app_banner.AdBannerImpressions', ] maybe there are other solution but this one was for me easy to handle -.-

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

No branches or pull requests

2 participants