Q:

Django Polls App - New poll should have at least two choices

I recently finished the Django Polls App tutorial.
Now i'm wondering how to force the admin to create at least two choices before he can save a new poll. I would like to make at least two choices required before a save can happen.
Regards,
Robo

A:

Harder than it seems! You want to create a custom formset with its own validation, as in this answer.

