Re: Help on displaying related-object details on ModelForm

2011-02-11 Thread Shawn Milochik
You can change the form's label to contain self.instance.promotion.description. -- 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

Help on displaying related-object details on ModelForm

2011-02-10 Thread luismmontielg
Hello fellow django developers, I have a model Project that has a foreign key to promotion, I have created a ModelForm for Project and changed the widget to use a RadioSelect. The form shows fine with all options displaying the objects unicode representation (in this case the promotion name).