From 186f9548b17f82894e249212b277809a465e9702 Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Fri, 14 Oct 2016 11:32:44 +0200 Subject: [PATCH] Bump to v1.0.2 --- docs/changelog.rst | 4 ++-- docs/conf.py | 4 ++-- docs/third-party.rst | 6 ++++-- polymorphic/__init__.py | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index ba1c337..3092a46 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,8 +1,8 @@ Changelog ========= -Changes in git --------------- +Version 1.0.2 (2016-10-14) +-------------------------- * Added helper function for django-guardian_; add ``GUARDIAN_GET_CONTENT_TYPE = 'polymorphic.contrib.guardian.get_polymorphic_base_content_type'`` diff --git a/docs/conf.py b/docs/conf.py index 6bada59..f14fa5f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -55,9 +55,9 @@ copyright = u'2013, Bert Constantin, Chris Glass, Diederik van der Boor' # built documents. # # The short X.Y version. -version = '1.0' +version = '1.0.2' # The full version, including alpha/beta/rc tags. -release = '1.0' +release = '1.0.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/third-party.rst b/docs/third-party.rst index ec6f854..837f21f 100644 --- a/docs/third-party.rst +++ b/docs/third-party.rst @@ -100,8 +100,10 @@ the view of the actual child model is used, similar to the way the regular chang django-guardian support ----------------------- -You can enable django-guardian_ to use the base model for object level permissions by adding this option to your -settings: +.. versionadded:: 1.0.2 + +You can configure django-guardian_ to use the base model for object level permissions. +Add this option to your settings: .. code-block:: python diff --git a/polymorphic/__init__.py b/polymorphic/__init__.py index 1e85e95..4b8c380 100644 --- a/polymorphic/__init__.py +++ b/polymorphic/__init__.py @@ -7,7 +7,7 @@ This code and affiliated files are (C) by Bert Constantin and individual contrib Please see LICENSE and AUTHORS for more information. """ # See PEP 440 (https://www.python.org/dev/peps/pep-0440/) -__version__ = "1.0.1" +__version__ = "1.0.2" # Monkey-patch Django < 1.5 to allow ContentTypes for proxy models.