Hello

I recieve this kind of error message when in admin:

Caught an exception while rendering: ('ascii', 'Madalal temperatuuril k
\xc3\xbcpsetatud stressivaba sea parim t\xc3\xbckk', 23, 24, 'ordinal
not in range(128)')

The text should actually be "Madalal remperatuuril küpsetatud
stressivaba sea parim tükk".

The model, that saves this information is:
class Retsept(models.Model):
        name = models.CharField(max_length=100, verbose_name=_("Name"),
blank=False, null=False)
        and other fields....


And the form for it is:
class RetseptForm(ModelForm):
        about = forms.CharField(widget=TinyMCE(attrs={'style': 'width:370px',
'rows': 15, 'theme':"simple"}), label = _("text here"),
required=False)
        tags = TagField(label = _("tags"),
widget=TagAutocomplete(attrs={'class':'required'}))
        name = forms.CharField(label = _("Name"),
widget=forms.TextInput(attrs={'class':'required'}))
        class Meta:
                model = Retsept
                fields = ('name', 'about', 'image', 'tags',)
                widgets = {
                        'name': TextInput(attrs={'class': 'required' })
                }

Can anyone tell me whats wrong with it?

Alan

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en.

Reply via email to