The followit django app allows for the site users to follow various instances of Django models, represented by django model followit.models.FollowRecord using the django.contrib.models.ContentTypes system.
Release Notes
Version 0.7.x
Supports Python 3.8 - 3.14 and Django 4.2 - 6.0.
Python |
Django 4.2 |
Django 5.2 |
Django 6.0 |
|---|---|---|---|
3.8 |
Yes |
||
3.9 |
Yes |
||
3.10 |
Yes |
Yes |
|
3.11 |
Yes |
Yes |
|
3.12 |
Yes |
Yes |
Yes |
3.13 |
Yes |
Yes |
Yes |
3.14 |
Yes |
Yes |
Yes |
Earlier versions
* ``0.6.x`` supports Django 1.10 to 4.x * ``0.5.x`` supports Django versions 1.10 up to 3.2 * ``0.4.x`` Django 1.7(**) - 1.9. Python 2 and 3. * ``0.3.x`` - Django 1.9 - 1.11 * ``0.2.x`` - Django 1.8 * ``0.1.x`` - Django 1.7 * ``0.0.9`` can be used for the earlier versions
(**) versions 0.4.x do not support Django 1.7 with Python 3.
Setup
To the INSTALLED_APPS in your settings.py add entry 'followit'.
Run python manage.py migrate followit
Then, in the body of AppConfig.ready method, add:
import followit followit.register(Thing)
Not it will be possible for the user to follow instances of SomeModel.
If you decide to allow following another model, just add another followit.register(...) statement.
Usage
Examples below show how to use followit:
bob.follow_thing(x) bob.unfollow_thing(x) things = bob.get_followed_things() x_followers = x.get_followers()
To follow/unfollow items via the HTTTP, make AJAX post requests at urls, available urls followit/urls.py:
/follow/<model_name>/<item_id>/
{% url follow_object "somemodel" item_id %} #model name lower case
/unfollow/<model_name>/<item_id>/
{% url unfollow_object "somemodel" item_id %} #lower case model name
/toggle-follow/<model_name>/<item_id>/
{% url toggle_follow_object "somemodel" item_id %} #lower case model name
Metadata
Release files for django-followit 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django_followit-0.7.0.tar.gz | 9.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_followit-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.7 kB
Release files / django_followit-0.7.0.tar.gz
| Download URL | django_followit-0.7.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05b103437c89283cb3fa026c6883a9e20256edc46e8b5898b6c53ada73522644
|
|
BLAKE2b-256 checksum How to use checksums |
c4f34799485ec7ab379be67daefc8cb124e52e6871293b97dd3356ab44065989
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / django_followit-0.7.0-py3-none-any.whl
| Download URL | django_followit-0.7.0-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4445c19ef083102b99cf505e05e71b76c6ed208255b614654e40a1d11b64adb
|
|
BLAKE2b-256 checksum How to use checksums |
5dffe50cc2a685345efdfc25d952d30a0d6dbc32d680477d7b8287ac903e6025
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for django-followit 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.