If you use a FloatField in the admin list_display, you get an error rendering the template from line 160 in admin_list.py (TypeError, float argument required)
158. elif isinstance(f, models.FloatField): 159. if field_val is not None: 160. result_repr = ('%%.%sf' % f.decimal_places) % field_val 161. else: 162. result_repr = EMPTY_CHANGELIST_VALUE This comes back to a previous post I had about FloatFields - they are stored as strings so you can't use it directly in a %f format. I think the line should be: 160. result_repr = ('%%.%df' % f.decimal_places) % float(field_val) But I'm not sure if that should be float() or Decimal(). I'm not sure what the process is to report things like this - and I'm not a member of django-developers so I just posted it here. Thanks, -Dave --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---