﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
4705	AddManipulator error when using unique_together	Filippo Santovito <filippo.santovito@…>	Adrian Holovaty	"Hi all,
I suspect this behaviour is a bug (but it'd be an error related to my code..)[[BR]]
look at this code (I'm using django 0.96):

{{{
class MyClass(models.Model):
    class Admin:
        pass
    code = models.CharField(unique=True, maxlength=10)
    description  = models.CharField(maxlength=100)
    what_you_want = models.ForeignKey(AnotherClass)

class MyClassRow(models.Model):
    class Meta:
        unique_together = ((""value"", ""myclass""),)
    value = models.FloatField(core=True, max_digits=10, decimal_places=2)
    myclass = models.ForeignKey(MyClass, edit_inline=models.TABULAR, num_in_admin=10)

}}}

when you try to add data to MyClass with Admin you should get the AddManipulator error.
"		closed	Core (Other)	0.96		wontfix	unique_together AddManipulator	filippo.santovito@…	Unreviewed	0	0	0	0	0	0
