Hey guys,

I just detected a bug, that causes inlines to "disappear" if there are
non-ascii characters on the inline data. I'm still working on
detecting what's going on, and I'll fill a bug ticket when having all
the information, but I just wanted to post my opinion on something
related: filing silently in templates.

I know this has been discussed several times, and Django policy is
still "not letting app break after template changes". But while I
understand that programmers doesn't trust designers, and the
motivation of that policy, I have to say that that the results make it
wrong (of course, in my opinion).

This bug doesn't affect sites that are only available in English, but
I think it can be critical for sites in Spanish, French, Portuguese...
As an example, imagine you have a customer model, available from the
admin, and with its invoices as inlines. So, if your application is in
Spanish, and let's say the reference of one invoice is "Servicios de
programación" (programming services, which in Spanish has an accent),
no inlines will appear on the admin, and some users can think you
didn't issue any invoice to that customer yet.

I've seen that the error doesn't fail silently if DEBUG_TEMPLATE is
enabled, but IMHO is not enough, at least an independent setting
should be required.

Thank you,
  Marc

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

Reply via email to