Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
st4lk committed Feb 23, 2015
1 parent d2e7974 commit c8db354
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -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
------

Expand Down
2 changes: 1 addition & 1 deletion solid_i18n/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__author__ = 'st4lk'
__version__ = '0.6.1'
__version__ = '0.7.1'

0 comments on commit c8db354

Please sign in to comment.