Jay Parlar wrote: > On 6/16/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: >> On 6/16/06, Jay Parlar <[EMAIL PROTECTED]> wrote: >>> I just noticed today that if I have a CharField primary_key, with >>> 'blank=False', the system doesn't actually ever validate that the >>> field isn't empty. >> The validation stuff isn't finished and isn't intended to be used yet. >> Move along, nothing to see here. :) >> >> Adrian > > Hehe, ok, I can live with that for now. By "validation stuff" though, > what exactly does that include? Keywords passed to the fields in the > model? Or anything else I should keep my eyes open for? >
currently you have to use manipulators, if you want to validate the data that enters your models, see http://www.djangoproject.com/documentation/forms/ later, when validation-aware models will be implemented, this validation step will happen in the model itself. gabor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~----------~----~----~----~------~----~------~--~---