diff --git a/CHANGES.txt b/CHANGES.txt index 2373fde..9d2678c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,13 @@ Changes ======= +4.2.1 (2018-04-18) +------------------ + +- Fix unicode string interpolation on Python 2.7 + [aleksihakli] + + 4.2.0 (2018-04-13) ------------------ diff --git a/axes/__init__.py b/axes/__init__.py index 8f8a575..732b4ec 100644 --- a/axes/__init__.py +++ b/axes/__init__.py @@ -1,6 +1,6 @@ from __future__ import unicode_literals -__version__ = '4.2.0' +__version__ = '4.2.1' default_app_config = 'axes.apps.AppConfig' diff --git a/docs/conf.py b/docs/conf.py index a9dd74f..6deb8e7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,6 +17,8 @@ import os import shlex import sphinx_rtd_theme +import axes + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. @@ -56,9 +58,9 @@ author = 'jazzband' # built documents. # # The short X.Y version. -version = '4.2.0' +version = axes.get_version() # The full version, including alpha/beta/rc tags. -release = '4.2.0' +release = axes.get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.