mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
pull version from the correct package
This commit is contained in:
parent
b06498d8f3
commit
d524e3f3e9
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
try:
|
||||
__version__ = __import__('pkg_resources').get_distribution('clamd').version
|
||||
__version__ = __import__('pkg_resources').get_distribution(
|
||||
'django-axes'
|
||||
).version
|
||||
except:
|
||||
__version__ = ''
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue