> label_from_instance was added after that version. For now the only
> thing you can do is to define __unicode__ on the Upload model, and
> that will provide the value that is displayed.
> --
> DR.
worked like a charm Daniel... thanks again!
--~--~-~--~~~---~--~~
On Fri, Aug 7, 2009 at 2:57 PM, Daniel Roseman wrote:
>
> On Aug 7, 7:33 pm, Bobby Roberts wrote:
> > hi. does anyone have any ideas why this is not working... we are
> > using django 0.96 on this particular server.
>
> label_from_instance was added
On Aug 7, 7:33 pm, Bobby Roberts wrote:
> hi. does anyone have any ideas why this is not working... we are
> using django 0.96 on this particular server.
label_from_instance was added after that version. For now the only
thing you can do is to define __unicode__ on the
hi. does anyone have any ideas why this is not working... we are
using django 0.96 on this particular server.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
ok here's my form:
class ParseFileChoiceField (forms.ModelChoiceField):
def label_from_instance (self,obj):
return obj.ProcessFile
class FrmParser (forms.Form):
parsefile = ParseFileChoiceField(queryset=Upload.objects.filter
5 matches
Mail list logo