On 15 Maj, 03:43, Brandon Taylor <[EMAIL PROTECTED]> wrote: > I saw this example in the > documentation:http://www.djangoproject.com/documentation/forms/#validators > > But where does this code live? Does this go into my models.py as a > subclass of my Model, or is it a separate file? Link you've submitted is referenced by: http://www.djangoproject.com/documentation/model-api/#validator-list
You may also take a look at: django/db/models/fields/__init__.py to see how validators are processed. -- Maciej Wisniowski --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---