Thanks a lot, works. I want make a m2m relation with attribute. Is possible use "filter_horizontal" or other widget for admin? For example:
class Player(models.Model): ......................... class Match(models.Model): day_match = models.DateTimeField() ......................... class Formation(models.Model): name = models.CharField("Nome", max_length=100,blank=True, null=True ) match = models.ForeignKey(Match, blank=True, null= True) palyer = models.ManyToManyField(Player) ......................... class Formation_Player(models.Model): formation = models.ForeignKey(Formation) palyer = models.ForeignKey(Player) number = models.CharField(max_length=4, choices=POSIZIONE, blank=True, null= True) I want "filter_horizontal" with a box of "number" for each Player choice. Is possible? Thanks a lot 2008/6/3 Russell Keith-Magee <[EMAIL PROTECTED]>: > > On Tue, Jun 3, 2008 at 6:58 PM, alessandro boschi > <[EMAIL PROTECTED]> wrote: >> >> Thanks, but i have a problem. For exemple file: >> /django/contrib/admin/options.py do not exist. >> Can you send me a zip of patched file. >> Thanks for your help > > It sounds like you're applying the patch to a checkout of trunk. As > the name suggests, 6095-nfadmin.3.diff needs to be applied to a > checkout of the newforms-admin branch. > > Yours, > Russ Magee %-) > > > > -- Alessandro Boschi www.soasi.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---