Re: Forms with error reporting

2006-09-13 Thread Waylan Limberg
On 9/12/06, Hawkeye <[EMAIL PROTECTED]> wrote: > > The FormWrapper design pattern seems to be great, but I have a > question. > > Is there any way that I can put errors in the response that aren't > linked with form fields? > There is currently a discussion[1] going on in the dev-list regarding

Re: Forms with error reporting

2006-09-12 Thread rp
You can use the manipulators described on this page: http://www.djangoproject.com/documentation/forms/ Do a find on "if form.has_errors" to see a template example containing general form errors as well as field specific form errors. Let me know if you need more info. thanks, raman

Forms with error reporting

2006-09-11 Thread Hawkeye
The FormWrapper design pattern seems to be great, but I have a question. Is there any way that I can put errors in the response that aren't linked with form fields? For example, in an authentication page... if the authentication fails, I don't want to link an error to either the user or