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
Currently favourites registers to receive post_delete signal for all models. This should be configurable to allow you to only register for the models used. eg:
Currently favourites registers to receive post_delete signal for all models. This should be configurable to allow you to only register for the models used. eg:
FAVOURITE_REGISTER_CLEANUP_FOR = ('foo_app.BarModel', 'bar_app.FooModel')
or something similar.
Or alternatively use a register pattern to register the models you want to use with favourites in the first place eg.
favourites.register(Foo)
This would add only allow a user to favour objects of class Foo and register to cleanup on Foo's post_delete
The text was updated successfully, but these errors were encountered: