Did you take a look at
http://www.djangoproject.com/documentation/newforms/#customizing-the-error-list-format
??
You could just return the error message without wrapping it in any
div/span/ul etc.
R
On Tue, 2008-04-29 at 22:23 -0700, Mike Chambers wrote:
> Thanks.
>
> This was the only way I
Thanks.
This was the only way I could get the string:
{% for s in form.user_name.errors %}{{s}}{% endfor %}
I tried some of the list template filters (such as slice, but didnt
havent any luck with them).
Are there instances where more than one validation error would be
returned for a specifi
On Wed, Apr 30, 2008 at 12:03 PM, Mike Chambers <[EMAIL PROTECTED]> wrote:
>
> Name
> {{ form.user_name }} {{ form.user_name.errors }}
>
> Is there any way to just get the raw error string?
You should be able to treat form.user_name.errors as
I have a form that I am custom rendering in a view like so:
--
Name
{{ form.user_name }}
--
I am working on implementing input error feedback, so I did this:
--
Name
{{ form.user_name }} {{ form.user_n
4 matches
Mail list logo