hi, what will be the proper approach to do this? creating a custom fields or custom field validation?
Thanks james On Jul 27, 10:53 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > On 7/27/07, james_027 <[EMAIL PROTECTED]> wrote: > > > but those min maxconstraintsare socommon? why not include it? > > Because "common" is different for any given user and/or site. I think > *I've* only written a single form with min/max validation, FWIW. > Designing a framework is hard; you've got to search for things that > are as close to truly universal as possible. Otherwise you end up > including every little pet feature that someone asks for, and that's > known as "PHP". > > A good programmer will keep around his/her own library ofcommoncode > and break it out whenever needed. If you need min/max validation > often, you should make that the start of your own personal toolkit. > > Jacob --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---