Skip to content

Commit

Permalink
Add info for rewritten version.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed May 28, 2016
1 parent b7bbf43 commit 59db5ae
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
========================

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include LICENSE
include README.rst
include CHANGELOG.rst
11 changes: 8 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 59db5ae

Please sign in to comment.