Hi,

in PHP *shrug* i used to pipe user input through htmlentities() before i 
stored it in a database. Basically to avoid encoding issues with German 
special chars.

ä -> ä
Ö -> Ö
ß -> ß
etc.

How can i achieve this when defining a model in Django? Or is it a bad pratice 
and there's a better way? Sorry if this is obvious, but i can't seem to find 
a good answer.

Best Regards,
Dirk Eschler

-- 
Dirk Eschler <mailto:[EMAIL PROTECTED]>
http://www.krusader.org

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to