mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
10 lines
309 B
Python
10 lines
309 B
Python
from pkg_resources import get_distribution, DistributionNotFound
|
|
|
|
from .choices import Choices # noqa:F401
|
|
from .tracker import FieldTracker, ModelTracker # noqa:F401
|
|
|
|
try:
|
|
__version__ = get_distribution("django-model-utils").version
|
|
except DistributionNotFound:
|
|
# package is not installed
|
|
pass
|