Admin not saving in chosen language
diogobaeder opened this issue · comments
Hi, there,
I've configured a website to run under "en" and "pt-br", but only content for "en" is being saved. When I try to save "pt-br" content, it gives me a success message, but the data is not saved.
Any ideas?
The issue is affecting multilingual flatpages.
what revision of django-multilingual-ng are you using? What version of django are you using? Could you please show me the admin/models code you use?
Hi, ojii, I'm using the latest commit from django-multilingual-ng and updated django trunk, both as of yesterday (when I posted this issue). Only after I raised this issue I noticed a message somewhere saying ng is not working with django, and will only be fixed when they release a stable version, is it right?
indeed that is the case, please try applying this patch to query.py and see if this issue still persists.
Yay!!! Problem solved!!! Thanks a lot, ojii!!! :-)
I believe this patch was not applied to master because backwards compatibility with Django 1.1, right?
wrong, django-multilingual-ng will NOT be 1.1 compatible. The reason for this patch not being applied yet is that there's no official package of Django 1.2 yet which requires this patch. Beta 1 works without (and will break with it). The patch will be applied as soon as the next release (probably rc1) hits.