mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-03-16 22:20:27 +00:00
7 lines
201 B
Python
7 lines
201 B
Python
from importlib.metadata import PackageNotFoundError, version
|
|
|
|
try:
|
|
__version__ = version("django-configurations")
|
|
except PackageNotFoundError:
|
|
# package is not installed
|
|
__version__ = None
|