-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Page editing breaks on monolingual sites #164
Comments
was this fixed in one of your commits? |
works for me without cms.middleware.MutilingualURLMiddleware acdha, can you please provide more details? what is in your settings.py? |
Grrr - GitHub dropped my first message about 2 hours ago. The good news is The first problem is simple. example/settings.py sets LANGUAGE_CODE='en-us' To reproduce:
I found a second, nastier bug which I just fixed. On monolingual sites plugin http://github.com/acdha/django-cms-2.0/commit/cf78beea701e1a3a21f9b12b4f60052166f11b4b The first is that the plugin editing view doesn't verify that the POST The second was the reason I noticed the validation failure in the first place: I added a simple fallback which looks for the hidden language input if the Chris |
great, now i can reproduce it, there were some fix for this one, i'm just not sure whats the state... @Stefan, can u check this? |
should work after yesterdays merge |
…-cms#164) More accurate error response for POSTs with invalid languages JavaScript fallback for determining the language - the original check fails when settings.LANGUAGES only has one language.
…-cms#164) More accurate error response for POSTs with invalid languages JavaScript fallback for determining the language - the original check fails when settings.LANGUAGES only has one language. Signed-off-by: Patrick Lauber <patrick.lauber@divio.ch>
The documentation says:
With the current master, if you actually do this the admin area will break when you attempt to update a page because cleaned_data won't have a key "language".
The text was updated successfully, but these errors were encountered: