MCPcopy Index your code
hub / github.com/caffeinehit/django-follow

github.com/caffeinehit/django-follow @v0.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3 ↗ · + Follow
33 symbols 108 edges 18 files 15 documented · 45%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

django-follow

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 :)

Core symbols most depended-on inside this repo

get_object
called by 5
follow/models.py
is_user_following
called by 3
follow/models.py
get_followers_for_object
called by 2
follow/models.py
register
called by 2
follow/util.py
create
called by 1
follow/models.py
get_or_create
called by 1
follow/models.py
get_object
called by 1
follow/models.py
_follow_link
called by 1
follow/templatetags/follow_tags.py

Shape

Method 16
Function 12
Class 5

Languages

Python100%

Modules by API surface

follow/models.py13 symbols
follow/templatetags/follow_tags.py10 symbols
follow/views.py4 symbols
project/app/tests.py2 symbols
follow/util.py2 symbols
follow/__init__.py2 symbols

For agents

$ claude mcp add django-follow \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact