From c8db35429de3614c6a1407ee653d36a16bc30a44 Mon Sep 17 00:00:00 2001 From: st4lk Date: Mon, 23 Feb 2015 23:42:55 +0300 Subject: [PATCH] update version --- README.md | 4 ++-- RELEASE_NOTES.md | 7 +++++++ solid_i18n/__init__.py | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5316b6a..d743a2a 100644 --- a/README.md +++ b/README.md @@ -87,11 +87,11 @@ Settings If `True`, redirect to url with non-default language prefix from url without prefix, if user's language is not equal to default. Otherwise url without language prefix will always render default language content (see [behaviour section](#behaviour) and [notes](#notes) for details). - `SOLID_I18N_HANDLE_DEFAULT_PREFIX = False` -If `True`, both urls `/...` and `/en/...` will render default language content (in this example en is default language). +If `True`, both urls `/...` and `/en/...` will render default language content (in this example 'en' is default language). Otherwise, `/en/...` will return 404 status_code. - `SOLID_I18N_DEFAULT_PREFIX_REDIRECT = False` -If `True`, redirect from url with default language prefix to url without any prefix, i.e. redirect from `/en/...` to `/...` if en is default language. +If `True`, redirect from url with default language prefix to url without any prefix, i.e. redirect from `/en/...` to `/...` if 'en' is default language. Example site diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 4bb1268..641c3b0 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,13 @@ solid_i18n release notes ======================== +v0.7.1 +------ + + - add settings `SOLID_I18N_HANDLE_DEFAULT_PREFIX` and `SOLID_I18N_DEFAULT_PREFIX_REDIRECT` + +Issues: [#12](https://github.com/st4lk/django-solid-i18n-urls/issues/12) + v0.6.1 ------ diff --git a/solid_i18n/__init__.py b/solid_i18n/__init__.py index 45e0ded..1a210c9 100644 --- a/solid_i18n/__init__.py +++ b/solid_i18n/__init__.py @@ -1,2 +1,2 @@ __author__ = 'st4lk' -__version__ = '0.6.1' +__version__ = '0.7.1'