-----------------
* **Breaking:** Updated the location of ``VersionAdmin``.
Prior to this change, you could access the ``VersionAdmin`` class using the following import:
.. code:: python
Old-style import for accessing the admin class.
import reversion
Access admin class from the reversion namespace.
class YourModelAdmin(reversion.VersionAdmin):
pass
In order to support Django 1.9, the admin class has been moved to the following
import:
.. code:: python
New-style import for accesssing admin class.
from reversion.admin import VersionAdmin
Use the admin class directly.
class YourModelAdmin(VersionAdmin):
pass
* **Breaking:** Updated the location of low-level API methods.
Prior to this change, you could access the low-level API using the following import:
.. code:: python
Old-style import for accessing the low-level API.
import reversion
Use low-level API methods from the reversion namespace.
reversion.register
class YourModel(models.Model):
pass
In order to support Django 1.9, the low-level API
methods have been moved to the following import:
.. code:: python
New-style import for accesssing the low-level API.
from reversion import revisions as reversion
Use low-level API methods from the revisions namespace.
reversion.register
class YourModel(models.Model):
pass
* **Breaking:** Updated the location of http://django-reversion.readthedocs.org/en/latest/signals.html.
Prior to this change, you could access the reversion signals using the following import:
.. code:: python
Old-style import for accessing the reversion signals
import reversion
Use signals from the reversion namespace.
reversion.post_revision_commit.connect(...)
In order to support Django 1.9, the reversion signals have been moved to the following
import:
.. code:: python
New-style import for accesssing the reversion signals.
from reversion.signals import pre_revision_commit, post_revision_commit
Use reversion signals directly.
post_revision_commit.connect(...)
* Django 1.9 compatibility (etianen).
* Added spanish (argentina) translation (gonzalobustos).
* Minor bugfixes and tweaks (Blitzstok, IanLee1521, lutoma, siamalekpour, etianen).