View Code? Open in Web Editor
NEW
This project forked from olomix /django-favorites
Generic favorites app for django with some more utilities that make it a bit more plugable
Home Page: http://apgwoz.com
License: GNU Lesser General Public License v3.0
django-favorites's People
Contributors
Stargazers
Watchers
django-favorites's Issues
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