~netlandish/django-wiki

6fa057251a9dab3e220c72fd0776c6908e3276d5 — Benjamin Bach 5 years ago c9b6d2d + 81e798d
Merge branch 'releases/0.4.x'
M docs/release_notes.rst => docs/release_notes.rst +14 -0
@@ 20,6 20,20 @@ Changed
* Update to Markdown >= 3 :url-issue:`920` (Don Bowman)


0.4.5
-----

Fixed
~~~~~

* Django admin error when uploading images: Column 'revision_number' cannot be null :url-issue:`950` (Benjamin Bach)

Translations
~~~~~~~~~~~~

* Added: Romanian ``ro``


0.4.4
-----


M src/wiki/locale/fr/LC_MESSAGES/django.mo => src/wiki/locale/fr/LC_MESSAGES/django.mo +0 -0
M src/wiki/locale/it/LC_MESSAGES/django.mo => src/wiki/locale/it/LC_MESSAGES/django.mo +0 -0
M src/wiki/locale/ko_KR/LC_MESSAGES/django.mo => src/wiki/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
A src/wiki/locale/ro/LC_MESSAGES/django.mo => src/wiki/locale/ro/LC_MESSAGES/django.mo +0 -0
M src/wiki/locale/zh_CN/LC_MESSAGES/django.mo => src/wiki/locale/zh_CN/LC_MESSAGES/django.mo +0 -0
M src/wiki/plugins/images/models.py => src/wiki/plugins/images/models.py +4 -1
@@ 101,7 101,10 @@ class ImageRevision(RevisionPluginRevision):
        ordering = ('-created',)

    def __str__(self):
        return gettext('Image Revision: %d') % self.revision_number
        if self.revision_number:
            return gettext('Image Revision: %d') % self.revision_number
        else:
            return gettext('Current revision not set!!')


def on_image_revision_delete(instance, *args, **kwargs):