On 7/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I had the need for a CharField which stores the values always in uppercase 
> form. Is there a solution out there ?

Ivan's suggestino of adding a custom save() method on the model which
uppercases the contents of the field you want uppercased is probably
your best bet; trying to add model fields and options for every type
of constraint people might want would unnecessarily complicate the
model system, especially when we've already got ways to handle that
sort of thing.

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to