Hello!
I spend more than few hours using google and reading django and
google app engine documentation, but I couldn't find solution for my
problem. So I expect maybe somebody could helps me.
So I have model:
class Advertisement(db.Model):
name = db.StringProperty(required=True,verbose_name=_(u'First
name'))
ModelForm:
class GiftForm(djangoforms.ModelForm):
class Meta:
model = Advertisement
And template form
{{form.as_p}}
The problem is that "First name" label translates only when I change
settings.py LANGUAGE_CODE value. All other parts of view works
correctly out of the box. So I suppose that problem isn't django. Any
suggestions?
--
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.