Using django-hosts together with the Djangos language prefix in URL patterns feature is a common use-case; unfortunately it is not straight-forward as using i18n_patterns within an included URLconf will throw an ImproperlyConfigured exception.
Here I suggest an implementation example, but I'm probably missing some points and I would like your enlightenment.
I also would like to add unit tests concerning this topic, but I was unable to setup the testing environment properly; I also kindly request your guidance on it.
Using django-hosts together with the Djangos language prefix in URL patterns feature is a common use-case; unfortunately it is not straight-forward as using
i18n_patterns
within an included URLconf will throw an ImproperlyConfigured exception.Here I suggest an implementation example, but I'm probably missing some points and I would like your enlightenment.
I also would like to add unit tests concerning this topic, but I was unable to setup the testing environment properly; I also kindly request your guidance on it.
Relates to: