~netlandish/django-wiki

f0cb1bf6b3b15ed795665ed16dc2ce661c9bc2a5 — Benjamin Bach 5 years ago c9b6d2d + 6fa0572
Merge pull request #966 from benjaoming/master

0.4.x into master
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):