Registry / database / django-fieldsignals

django-fieldsignals

JSON →
library0.8.0pypypi✓ verified 81d ago

Django signals that fire when specific model fields change. Version 0.8.0, stable but infrequent releases (last release 2022). Depends on Django 3.2+.

pip install django-fieldsignals
INSTALL
IMPORT
SIG · DJANGO-FIELDSIGNAL
D
django-fieldsignals
databasepythonv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

post_save_changed
from fieldsignals import post_save_changed
from fieldsignals import connect
pre_save_changed
from fieldsignals import pre_save_changed
signals
from fieldsignals import signals

Connect a signal to a specific field on a model. Place in AppConfig.ready().

from django.apps import AppConfig from fieldsignals import connect, post_save, pre_save class MyAppConfig(AppConfig): name = 'myapp' def ready(self): from myapp.models import MyModel connect(post_save, MyModel, 'my_field', receiver) def receiver(sender, instance, **kwargs): print(f"{sender} field changed: {instance}")
Debug
Known issues
gotchaSignal receivers must be connected after Django app setup (in AppConfig.ready()). Connecting at module level may cause race conditions.
fix
Always connect signals inside AppConfig.ready() or using ready() decorator.
affects: all
gotchaThe library only tracks field changes within the save() call. Model-level updates via queryset.update() do not trigger signals.
fix
Use Django's post_save signal or override save() for bulk updates if needed.
affects: all
deprecatedThe connect_signal() function was removed in 0.7.0. Use connect() directly.
fix
Replace connect_signal() with connect().
affects: >=0.7.0
breakingSignals no longer pass 'field' argument; they pass 'field_name' (string).
fix
Update receivers to expect field_name instead of field.
affects: >=0.8.0
Upgrade
Version history
0.8.0latest on PyPI · released Dec 25, 2025
Audit
Dependencies
DjangorequiredPeer dependency, requires Django >=3.2
Agent activity
6 hits · last 30 days
node
6
Resources
django-fieldsignals — pip install django-fieldsignals · libregistry