Hi !
I have a module where some urls have to be prefixed by the country code and other urls must not be prefixed by country code.
In the project urls.py, the module is included with path “”.
It looks like i18n_patterns() cannot be called from the module urls.py :
django.core.exceptions.ImproperlyConfigured: Using i18n_patterns in an included URLconf is not allowed.
So can I declare two lists of urls in one module ? So I can apply i18n_patterns() on one from the project urls.py ?
Or is there a better way to do this ?
Thank you !