I am trying to create field in form with name "Ø" (special danish
characters).
My code is something like this:
field = forms.CharField()
form.fields[smart_unicode("Ø")] = field
After that i got exception in django during validation:
File "\django\forms\forms.py", line 233, in full_clean
if h
Thanks for reply.
But what should i do with names of fields ?
Replace unicode characters with some English ?
I really want to keep unicode characters for names of fields, because
it is easy to manage without any replacement.
On Dec 23, 5:51 pm, Bill Freeman wrote:
> I think that you need to pass
Thanks for reply.
I see, that in this case, i will use replacement system of Unicode
characters to ASCII.
On Dec 23, 6:09 pm, Bill Freeman wrote:
> I haven't done any python programing with variable, function, class,
> and attribute names
--
You received this message because you are subscribed
3 matches
Mail list logo