Skip to main content

Application which enables following features for users. Can be used for contact books or whatnot

Project description

django-follow enables your users to follow any model in your Django application.

Installation:

pip install django-follow

Usage:

  • 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

Test

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

API:

Registering models:

# Create your own model, then:
from follow import util
util.register(MyModel)

Querying models:

Have a look at the models.py file :)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-follow-0.3.tar.gz (8.3 kB) Copy SHA256 hash SHA256 Source None May 2, 2011

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page