mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
* Add GitHub Actions test workflow. * Update version map. * Fix flake8 * Write coverage file. * Fix typo. * Add release workflow. * Removed Travis cruft and updated other files. * Update trove classifiers. * Black setup. * Remove unneeded twine check. * Extend changelog. * Fix six issue. * Update tox.ini Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Add 3.9. * Add base python Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
10 lines
279 B
Python
10 lines
279 B
Python
from pkg_resources import get_distribution, DistributionNotFound
|
|
|
|
try:
|
|
__version__ = get_distribution("django-dbtemplates").version
|
|
except DistributionNotFound:
|
|
# package is not installed
|
|
__version__ = None
|
|
|
|
|
|
default_app_config = 'dbtemplates.apps.DBTemplatesConfig'
|