mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-05-03 05:04:43 +00:00
* Simplified travis config and added Jazzband release config. * Migrate to travis-ci.com. * Split requirements to prevent env spoilage. * Add docs requirements. * Huh * type * Add psycopg2 doc requirements.
9 lines
255 B
Python
9 lines
255 B
Python
from pkg_resources import get_distribution, DistributionNotFound
|
|
|
|
try:
|
|
__version__ = get_distribution("django-auditlog").version
|
|
except DistributionNotFound:
|
|
# package is not installed
|
|
pass
|
|
|
|
default_app_config = 'auditlog.apps.AuditlogConfig'
|