django-auditlog/auditlog/__init__.py
Alieh Rymašeŭski e404e82795 Apply CI changes from upstream
Notable changes include:
- removal of Travis in favor of GH Actions;
- configuration to get version from git and not from code.
2021-06-24 14:37:03 +03:00

9 lines
255 B
Python

from pkg_resources import DistributionNotFound, get_distribution
try:
__version__ = get_distribution("django-auditlog").version
except DistributionNotFound:
# package is not installed
pass
default_app_config = "auditlog.apps.AuditlogConfig"