$npx skillfedfor your agent

django-fsm-log

Transition's persistence for django-fsm

Worth itPyPI Python ModulesReleased Jan 2026130.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_fsm_log-5.0.2-py3-none-any.whl
v5.0.2 · released 2026-01-27 · Python >=3.9 · 3 runtime deps: django-appconf, django-fsm-2, django

Yes. The package is actively maintained, supports current Django and Python versions, has no known vulnerabilities, and solves a common need for FSM-based Django applications. Install it if you're using django-fsm-2 and need to audit or display state transition history; the low install friction and permissive license make it a straightforward addition.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an existing Django project with django-fsm-2 already configured; the package listens for django_fsm.signals.post_transition, so FSM models must be set up first.
  • Low friction installation with three straightforward dependencies (django, django-fsm-2, django-appconf).
  • The package is actively maintained with recent releases supporting modern Django versions (5.2, 6.0) and Python 3.14, indicating ongoing compatibility work.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing use in commercial and open-source projects with minimal restrictions—only requiring attribution.

last release 2026-01-27 (199 days) · last repo commit 2026-08-10 · 248 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 130,904 downloads/mo, #11,620 on PyPI

Verify before relying

pip install django-fsm-log

# Add to INSTALLED_APPS
INSTALLED_APPS = (..., 'django_fsm_log', ...)

# Run migrations
python manage.py migrate django_fsm_log

# Query logs
from django_fsm_log.models import StateLog
StateLog.objects.all()
  • Whether the cached backend feature (CachedBackend) is suitable for high-concurrency scenarios or has known limitations.
  • Performance impact when logging transitions for models with very high transition frequency.
  • Whether the admin integration (StateLogInline) works with all Django admin customizations.
Same gist for agents: .md · .json

What it is and what it does

django-fsm-log is a Django app that automatically captures and persists state machine transitions for models using django-fsm-2. It listens for FSM transition signals and creates database records for each state change, including source state, target state, timestamp, and optional metadata like the user who triggered the transition.

The package provides query helpers (StateLog.objects.for_() to filter by model instance), decorators to attach user information or custom descriptions to transitions, and admin integration to visualize transition history. It can optionally cache pending transitions before they're persisted, allowing access to log details immediately after a transition begins rather than waiting for database commit.

Use it for

  • Track approval workflows in document management systems, logging who approved/rejected and when.
  • Audit state changes in order processing pipelines for compliance and debugging.
  • Display transition history in Django admin to show users how a model's state evolved.
  • Implement rollback or undo features by querying the StateLog to find previous states.
  • Generate reports on transition timing and frequency to identify bottlenecks in workflows.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, supports current Django and Python versions, has no known vulnerabilities, and solves a common need for FSM-based Django applications. Install it if you're using django-fsm-2 and need to audit or display state transition history; the low install friction and permissive license make it a straightforward addition.

Install

django-fsm-log on PyPI

Before you install

Low friction installation with three straightforward dependencies (django, django-fsm-2, django-appconf). The package is actively maintained with recent releases supporting modern Django versions (5.2, 6.0) and Python 3.14, indicating ongoing compatibility work.

Requires an existing Django project with django-fsm-2 already configured; the package listens for django_fsm.signals.post_transition, so FSM models must be set up first.

License in practice

MIT license is permissive, allowing use in commercial and open-source projects with minimal restrictions—only requiring attribution.

Quickstart

pip install django-fsm-log

# Add to INSTALLED_APPS
INSTALLED_APPS = (..., 'django_fsm_log', ...)

# Run migrations
python manage.py migrate django_fsm_log

# Query logs
from django_fsm_log.models import StateLog
StateLog.objects.all()

Verify before relying

  • Whether the cached backend feature (CachedBackend) is suitable for high-concurrency scenarios or has known limitations.
  • Performance impact when logging transitions for models with very high transition frequency.
  • Whether the admin integration (StateLogInline) works with all Django admin customizations.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
django-appconfdjango-fsm-2django
MaintenanceActively maintained 199 days since the last release
Last repo commit
First released
Downloads130,904 / month, #11,620 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules

Evidence: django_fsm_log-5.0.2-py3-none-any.whl

Tags

Capabilities
django fsm loggingstate machine transition historydjango workflow audit trailfsm state change trackingdjango model state logtransition persistence django
Topics
django-ormaudit-trailstate-machine
PyPI keywords
djangodjango-fsm-2

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django fsm logging”

  • django-fsm-logAutomatically logs state transitions for Django FSM models to the…
  • django-fsmProvides finite state machine support for Django models, allowing you…
  • django-fsm-2Adds declarative finite state machine support to Django models,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also django-fsm-2 · django-logentry-admin · django-fsm · Automat · fysom · django-dirtyfields · django-lifecycle · transitions · python-statemachine · django-soft-delete