Revive documentation.
[django-pagination.git] / doc / changes.rst
1 Version History
2 ***************
3
4 .. _version_2_0:
5
6 Version 2.0
7 ===========
8
9
10 * Revived the project as a fork of
11   git://github.com/ericflo/django-pagination.git. The project now has a new
12   maintainer (Zygmunt Krynicki) and a new home (on pypi and launchpad).
13
14 * Merged a lot of branches of the old project. In general this was made to show
15   people "here is the new good stuff" and to get as much contributions, back
16   into the trunk, as possible.
17
18 * Merge a lot of translations: de, es, fr, it, nn, no, pl, pt, pt_BR, ru and
19   tr. Translations are still in a bad state (they are not built automatically,
20   they are in incorrect place) but the first step is done.
21
22 * Add support for custom pagination templates. You can now use the optional
23   argument on paginate to use different template::
24
25     {% autopaginate obj_list %}
26     ...
27     {% paginate using "something/custom_template.html" %}
28
29 * Pagination template has support for specific blocks. Those blocks are
30   'previouslink', 'pagelinks' and 'nextlink'.  Make sure to base your template
31   on pagination/pagination.html end extend the blocks you care about.
32
33 * Add support for using multiple paginations on a single page. Simply use
34   multiple autopaginate/paginate tags. The only limitation is that you must use
35   paginate before using the next autopaginate tag. For an example see the test
36   project and the example application inside.
37
38 * Simplify building documentation. To build the documentation simply run
39   `setup.py build_sphinx`. You will need sphinx installed obviously.
40
41 * Simplify running tests. To run tests just invoke `setup.py test`. That's all!
42   This is based on the goodness of django-testproject that simplifies setting
43   up helper projects just for testing.
44
45
46 Version 1.0.7
47 =============
48
49 * Last release from previous upstream developer.