From 59db5ae562651ce042234b6716795a3059a9ba5f Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Fri, 27 May 2016 21:52:58 -0400 Subject: [PATCH] Add info for rewritten version. --- CHANGELOG.rst | 11 +++++++++++ MANIFEST.in | 1 + setup.py | 11 ++++++++--- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2a9614c..4be307e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,17 @@ Changelog ######### +0.3 (May 27, 2016) +================== + +* Largely rewritten. +* Updated to support modern Django (1.8, 1.9): + + * Guards against different template backends. + * Uses internal APIs for each node. + * Removed ``context_instance`` parameter. + * Support for calling ``{{ block.super }}``. + 0.2.2 (January 10, 2011) ======================== diff --git a/MANIFEST.in b/MANIFEST.in index 9d5d250..b7e69a3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ include LICENSE include README.rst +include CHANGELOG.rst diff --git a/setup.py b/setup.py index 03dba32..e37c09b 100644 --- a/setup.py +++ b/setup.py @@ -4,13 +4,18 @@ def long_description(): - with codecs.open('README.rst', encoding='utf8') as f: - return f.read() + result = u'' + + for filename in ['README.rst', 'CHANGELOG.rst']: + with codecs.open(filename, encoding='utf8') as f: + result += f.read() + + return result setup( name='django-render-block', py_modules=['render_block'], - version='0.1', + version='0.3', description='Render a particular block from a template to a string.', long_description=long_description(), author='Patrick Cloke',