I have a field inside a model that uses the "choices" attribute:-

rating=models.IntegerField(choices=RATING_CHOICES).

This field is then being shown in the Class Admin list:-

class Admin:

list_display=('rating','promotion','review_headline','review_date','is_viewable')


Using the above code, the data for 'rating', within the Admin list
display is being shown as "(none)".

However, when I remove the choice=RATING_CHOICES, the data shows up.

This looks like a bug - can anybody explain this to me?

MerMer


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to