mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
10 lines
343 B
Python
10 lines
343 B
Python
from pkg_resources import DistributionNotFound, get_distribution
|
|
|
|
from .choices import Choices # noqa:F401
|
|
from .tracker import FieldTracker, ModelTracker # noqa:F401
|
|
|
|
try:
|
|
__version__ = get_distribution("django-model-utils").version
|
|
except DistributionNotFound: # pragma: no cover
|
|
# package is not installed
|
|
__version__ = None
|