I'm sure I'm missing something, since when I originally tried it when django was first launched it worked well.
I need a poll in one of my projects and so I thought I'd just use the poll that comes in the tutorial, all worked well up until I came to editing the choices inline. I can only get one (the last one) inline choice to be saved, all other choices are deleted from the db, and if I leave any of them blank then I receive the following exception: Exception Type: OperationalError Exception Value: (1048, "Column 'votes' cannot be null") Exception Location: /usr/lib/python2.4/site-packages/MySQLdb/connections.py in defaulterrorhandler, line 32 Model is: class Poll(meta.Model): question = meta.CharField(maxlength=200) is_active = meta.BooleanField("Is Active", default=True) class META: admin = meta.Admin( list_filter = ['is_active'], search_fields = ['question'], list_display = ('question', 'is_active'), ) def __repr__(self): return self.question class Choice(meta.Model): poll = meta.ForeignKey(Poll, edit_inline=meta.STACKED, num_extra_on_change=3) choice = meta.CharField(maxlength=200) votes = meta.IntegerField() def __repr__(self): return self.choice I'm using version 0.91, apache 2, mysql 4.0.24_Debian-10ubuntu2-log Any help greatly appreciated since it's completely broken for me at present :( --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---