We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a86ecce commit 14cfaa3Copy full SHA for 14cfaa3
oauth2_provider/__init__.py
@@ -1,7 +1,6 @@
1
-__version__ = '0.12.0'
+import pkg_resources
2
3
-__author__ = "Massimiliano Pippi & Federico Frenguelli"
4
5
-default_app_config = 'oauth2_provider.apps.DOTConfig'
+__version__ = pkg_resources.require("django-oauth-toolkit")[0].version
6
7
-VERSION = __version__ # synonym
+default_app_config = "oauth2_provider.apps.DOTConfig"
0 commit comments