Pre-release
This release is a pre-release and may not be stable for production use.
# django-robust-i18n-urls
This application solves a few problems related with using internaitonalized
urls inside Django. If you want a full rationale please check out:
http://blog.karolmajta.com/robust-internationalized-urls-for-django.html
for an article explaining issues that arise when dealing with default
Django setup for internationalized urls.
## Usage
To use the app:
pip install django-robust-i18n-urls
In your `urls.py`, add to your `urlpatterns`:
url(r'^i18n/', include('robust_urls.urls')),
In your `settings.py`:
MIDDLEWARE_CLASSES = (
# ...
'robust_urls.middleware.RobustI18nLocaleMiddleware',
# ...
)
This should get you going with the default setup. Django's documentation
on translation and selecting language can help you.
For full documentation please see
http://django-robust-i18n-urls.readthedocs.org/
## Development
Clone this repo, then:
pip install -e .
pip install -r requirements.txt
python setup.py test
## TODO/Roadmap
Currently I don't need any more features beyond what is already provided,
but if you have ones that suit your use cases, feel free to issue a pull
request. Any additional tests are welcome too.
This application solves a few problems related with using internaitonalized
urls inside Django. If you want a full rationale please check out:
http://blog.karolmajta.com/robust-internationalized-urls-for-django.html
for an article explaining issues that arise when dealing with default
Django setup for internationalized urls.
## Usage
To use the app:
pip install django-robust-i18n-urls
In your `urls.py`, add to your `urlpatterns`:
url(r'^i18n/', include('robust_urls.urls')),
In your `settings.py`:
MIDDLEWARE_CLASSES = (
# ...
'robust_urls.middleware.RobustI18nLocaleMiddleware',
# ...
)
This should get you going with the default setup. Django's documentation
on translation and selecting language can help you.
For full documentation please see
http://django-robust-i18n-urls.readthedocs.org/
## Development
Clone this repo, then:
pip install -e .
pip install -r requirements.txt
python setup.py test
## TODO/Roadmap
Currently I don't need any more features beyond what is already provided,
but if you have ones that suit your use cases, feel free to issue a pull
request. Any additional tests are welcome too.
Release files for django-robust-i18n-urls 1.0.1rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-robust-i18n-urls-1.0.1rc1.tar.gz | 4.1 kB | Details |
Release files / django-robust-i18n-urls-1.0.1rc1.tar.gz
| Download URL | django-robust-i18n-urls-1.0.1rc1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9029f96c0e15729ea8f02461be0142e6844a61498944985d01fef36c55d98641
|
|
BLAKE2b-256 checksum How to use checksums |
49bdabe8951192a85547f16f8aba6ce20c38d93c22a01af3f7001c1bc4531d59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |