Hi Al, On Apr 30, 3:25 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Oh and the NewformsHOWTO doc says: > > "How do I add custom validation?" > """One option is to override form_add() and form_change() in > ModelAdmin and provide a custom form that does the validation.""" > There doesn't seem to be the from_add() and form_change() methods > available in ModelAdmin, unless I'm looking in a wrong place or the > latest repository version is newer then the online doc itself.
The latest repository has removed these methods in favour of the get_form method. Try that instead. I find having this in your bookmarks bar is always helpful: http://code.djangoproject.com/browser/django/branches/newforms-admin/django/contrib/admin/options.py Regards, Felix --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

