On Fri, Aug 7, 2009 at 2:57 PM, Daniel Roseman <dan...@roseman.org.uk>wrote:

>
> On Aug 7, 7:33 pm, Bobby Roberts <tchend...@gmail.com> 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 Upload model, and
> that will provide the value that is displayed.
>

No __unicode__ in 0.96.  Probably __str__.

Karen

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to