On Oct 10, 7:44 am, "Chris Spencer" <[EMAIL PROTECTED]> wrote: > That might be the problem then. I dislike the default markup, so I'm > using my own. How do you find if the form as errors? > Usinghttp://docs.djangoproject.com/en/dev/topics/forms/as a guide, I've > tried using form.has_errors, form.errors and form.message.errors, but > Registration doesn't seem to use any of those.
RegistrationForm is a normal Form instance. Most errors will be attached to specific fields, and thus will be in form.field_name.errors, as documented. Errors not associated with any particular field are available from form.non_field_errors(), as documented here [1]. HTH, Carl [1] http://docs.djangoproject.com/en/dev/ref/forms/validation/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---