File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 1
1
__all__ = ["VERSION" ]
2
2
3
3
4
- try :
5
- import pkg_resources
6
-
7
- VERSION = pkg_resources .get_distribution ("django-debug-toolbar" ).version
8
- except Exception :
9
- VERSION = "unknown"
10
-
4
+ # Do not use pkg_resources to find the version but set it here directly!
5
+ # see issue #1446
6
+ VERSION = "3.2"
11
7
12
8
# Code that discovers files or modules in INSTALLED_APPS imports this module.
13
9
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ The release itself requires the following steps:
141
141
Commit.
142
142
143
143
#. Bump version numbers in ``docs/changes.rst ``, ``docs/conf.py ``,
144
- ``README.rst `` and ``setup.py ``. Add the release date to
145
- ``docs/changes.rst ``. Commit.
144
+ ``README.rst ``, `` debug_toolbar/__init__.py `` and ``setup.py ``.
145
+ Add the release date to ``docs/changes.rst ``. Commit.
146
146
147
147
#. Tag the new version.
148
148
You can’t perform that action at this time.
0 commit comments