On Thu, Sep 25, 2008 at 12:30 AM, Rodrigo Culagovski <[EMAIL PROTECTED]> wrote: > > Validators (django.core.validators) seem to have been removed from > 1.0. What replaces them?
Well... validators weren't ever really there to begin with. There was some initial stub code, but it wasn't fully integrated into models. Model validation (Ticket #6845) was on the list of possible v1.0 features, but got bumped from the feature list because the implementation wasn't quite ready. It's certainly on the list of features intended for v1.1. In the meantime, there is form-level validation; you can also override the save() method to ensure that invalid models aren't saved. It's not particularly pretty, but a better solution is on the way. If you're feeling adventurous, you can try out the patch on #6845 and let us know about any problems you have. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---