Application which enables following features for users. Can be used for contact books or whatnot
django-follow enables your users to follow any model in your Django application.
pip install django-follow
- Put into your INSTALLED_APPS setting
- Hook into your urls.py file
- Register the models you want to be able to follow in your models.py files
The repository includes a sample project and application that is configured to test django-follow.
Clone the repository and cd into the project folder:
cd project/ python manage.py test follow
# Create your own model, then: from follow import util util.register(MyModel)
Have a look at the models.py file :)