You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful if django-cleanup allowed ignoring or selecting specific fields in a model.
In my project some models have fields that can't be cleaned because they have non-uniques, yet other fields would work fine.
Supporting a include/exclude list via decorators would be consistent with what already exists, but maybe a setting would be better, that'd be similar to how cacheops is configured, and I like the idea of keeping it all inside settings.py:
Not really sure how you might want this to play out with the select/ignore modes, changing mode via switching AppConfig is not something I've come across in a Django package before, a setting like this seems more common 🤔
The text was updated successfully, but these errors were encountered:
It would be helpful if django-cleanup allowed ignoring or selecting specific fields in a model.
In my project some models have fields that can't be cleaned because they have non-uniques, yet other fields would work fine.
Supporting a include/exclude list via decorators would be consistent with what already exists, but maybe a setting would be better, that'd be similar to how cacheops is configured, and I like the idea of keeping it all inside settings.py:
Not really sure how you might want this to play out with the select/ignore modes, changing mode via switching AppConfig is not something I've come across in a Django package before, a setting like this seems more common 🤔
The text was updated successfully, but these errors were encountered: