http://docs.djangoproject.com/en/dev/topics/settings/#altering-settings-at-runtime

"You should not alter settings at runtime".

>From my experience - altering settings sometimes works and sometimes
not.

On 4 Cze, 17:36, wilmersarmiento <[email protected]> wrote:
> Hi,
>
> I'm working with the form validation framework included on Django. To
> show error messages in Spanish I set the LANGUAGE_CODE to 'es'.
> Everything works fine, however if I add an import to work with
> djangoforms the error messages are displayed ALWAYS in English, the
> app ignore my language code. Any ideas about this behavior?
>
> Thanks!
>
> Here is the code:
> ...
> from django.conf import settings
> from google.appengine.ext import webapp
> from google.appengine.ext import db
> from google.appengine.ext.webapp import template
> from django import newforms as forms
> from google.appengine.ext.db import djangoforms
> from google.appengine.api import mail
>
> # Set to Spanish the default language
> settings.LANGUAGE_CODE = 'es'
> ...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to