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 11__all__ = ["VERSION" ]
22
33
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"
117
128# Code that discovers files or modules in INSTALLED_APPS imports this module.
139
Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ The release itself requires the following steps:
141141 Commit.
142142
143143#. 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.
146146
147147#. Tag the new version.
148148
You can’t perform that action at this time.
0 commit comments