Hi,

I am not sure if truncating the data is a good solution as the user
will be under the impression that all the text was saved whereas only
the first 255 was really saved.

You can add a max_length to your form or modelform field which will
block the user from typing more then the max length.

regards.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to