Re: Strange admin validation behaviour.

2008-11-03 Thread Karen Tracey
On Sun, Nov 2, 2008 at 12:07 PM, jiussa <[EMAIL PROTECTED]> wrote:

>
> Hi
>
> Been working through the online tutorial without problems up to the
> end of part 3. However if I now go back to the admin and try to edit
> choices for a Poll I get an error message saying "Please correct the
> errors below." without indicating any particular field.
>
> If I have created no Choices for a Poll this error doesn't seem to
> occur. When I create a brand new Poll I can add as many Choices to it
> as I want, however if I go to add choices to an existing Poll (or even
> just save a poll with which already has choices present) the error
> occurs.
>
> If I remove the "inlines = [ChoiceInline]" line from my PollAdmin
> class the problem seems to dissapear as well.
>
> I've added no code other than what's in the tutorial.
>
> Thanks.
>

Sounds like:

http://code.djangoproject.com/ticket/9076

Karen

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Strange admin validation behaviour.

2008-11-02 Thread jiussa

Hi

Been working through the online tutorial without problems up to the
end of part 3. However if I now go back to the admin and try to edit
choices for a Poll I get an error message saying "Please correct the
errors below." without indicating any particular field.

If I have created no Choices for a Poll this error doesn't seem to
occur. When I create a brand new Poll I can add as many Choices to it
as I want, however if I go to add choices to an existing Poll (or even
just save a poll with which already has choices present) the error
occurs.

If I remove the "inlines = [ChoiceInline]" line from my PollAdmin
class the problem seems to dissapear as well.

I've added no code other than what's in the tutorial.

Thanks.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---