OdifYltsaeb / django-multilingual

Automatically exported from code.google.com/p/django-multilingual
MIT License
0 stars 0 forks source link

patch for compatibility with django-cms #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to use a multilingual model in the same project as django-cms's
built-in internationalization
2. Use CMS' template tag for switching languages
3. Language of django-multilingual apps is unchanged.

Fortunately, this was really easy to fix. As long as the patched middleware
(attached) follows django-cms' MultilingualURLMiddleware,
django-multilingual Translated models respect cms' settings.

Original issue reported on code.google.com by alan.zo...@gmail.com on 6 Apr 2010 at 4:56

Attachments: