Prepared 0.10.0 release.

This commit is contained in:
Dirk Eschler 2015-07-03 10:37:14 +02:00
parent d0a3fe888a
commit c48a6d90cf
6 changed files with 24 additions and 5 deletions

View file

@ -39,6 +39,9 @@ Contributors
* Mathias Ettinger
* Daniel Loeb
* Stephen McDonald
* Lukas Lundgren
* zenoamaro
* oliphunt
* And many more ... (if you miss your name here, please let us know!)
.. _django-linguo: https://github.com/zmathew/django-linguo

View file

@ -1,3 +1,17 @@
v0.10.0
=======
Date: 2015-07-03
ADDED: CSS support for bi-directional languages to TranslationAdmin
using mt-bidi class.
(resolves issue #317, thanks oliphunt)
ADDED: A decorator to handle registration of models.
(resolves issue #318, thanks zenoamaro)
FIXED: Handled annotation fields when using values_list.
(resolves issue #321, thanks Lukas Lundgren)
v0.9.1
======
Date: 2015-05-14

View file

@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: django-modeltranslation
Version: 0.9.1
Version: 0.10.0
Summary: Translates Django models using a registration approach.
Home-page: https://github.com/deschler/django-modeltranslation
Author: Peter Eschler,

View file

@ -73,7 +73,7 @@ master_doc = 'index'
# General information about the project.
project = u'django-modeltranslation'
copyright = u'2009-2014, Peter Eschler, Dirk Eschler, Jacek Tomaszewski'
copyright = u'2009-2015, Peter Eschler, Dirk Eschler, Jacek Tomaszewski'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@ -279,7 +279,7 @@ texinfo_documents = [
epub_title = u'django-modeltranslation'
epub_author = u'Dirk Eschler'
epub_publisher = u'Dirk Eschler'
epub_copyright = u'2009-2014, Peter Eschler, Dirk Eschler, Jacek Tomaszewski'
epub_copyright = u'2009-2015, Peter Eschler, Dirk Eschler, Jacek Tomaszewski'
# The language of the text. It defaults to the language option
# or en if the language is not set.

View file

@ -50,9 +50,11 @@ only imported. The ``NewsTranslationOptions`` derives from
``TranslationOptions`` and provides the ``fields`` attribute. Finally the model
and its translation options are registered at the ``translator`` object.
.. versionadded:: 0.10
If you prefer, ``register`` is also available as a decorator, much like the
one Django introduced for its admin in version 1.7. Usage is similar to the
standard ``register``, just provide arguments as you normally would, except
standard ``register``, just provide arguments as you normally would, except
the options class which will be the decorated one::
from modeltranslation.translator import register, TranslationOptions

View file

@ -3,7 +3,7 @@
Version code adopted from Django development version.
https://github.com/django/django
"""
VERSION = (0, 9, 1, 'final', 0)
VERSION = (0, 10, 0, 'final', 0)
default_app_config = 'modeltranslation.apps.ModeltranslationConfig'